Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

FinNet (version 0.1.2)

FF-comparison-methods: Basic method to check to compare values in a financial_matrix object

Description

Basic method to check to compare values in a financial_matrix object

Usage

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

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

Value

  • 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.

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

Author

Telarico, Fabio Ashtar