FF-comparison-methods function

Basic method to check to compare values in a financial_matrix object

Basic method to check to compare values in a financial_matrix object

## S4 method for signature 'financial_matrix,logical' duplicated(x, incomparables = FALSE, ...) ## S4 method for signature 'financial_matrix,logical' unique(x, incomparables = FALSE, ...)

Arguments

  • x: The financial_matrix object to operate on

  • incomparables: Either:

    • a vector of values that cannot be compared
    • or FALSE, in which case all values can be compared
  • ...: Arguments passed to the relevant matrix method

Returns

  • duplicated: A logical array with the same dimensions and dimnames of the financial_matrix's matrix component.
  • unique: The matrix component is coerced into a vector and then returned, but with only one copy of each duplicated element.

Author(s)

  • Maintainer: Fabio Ashtar Telarico
  • License: GPL (>= 3)
  • Last published: 2024-10-31