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

FF-comparison-methodsR Documentation

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

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.

Author(s)

Telarico, Fabio Ashtar


FinNet documentation built on Oct. 31, 2024, 5:07 p.m.