FF-basic-methods function

Basic methods for objects of class financial_matrix

Basic methods for objects of class financial_matrix

## S4 method for signature 'financial_matrix' rownames(x, do.NULL = TRUE, prefix = "row") ## S4 method for signature 'financial_matrix' colnames(x, do.NULL = TRUE, prefix = "row")

Arguments

  • x: The financial_matrix object to operate on
  • do.NULL: Whether to use NULL names. Defaults to FALSE
  • prefix: Prefix for created names (if do.NULL is FALSE and names are NULL)

Returns

A character vector of length equal to the number of rows (or columns) in the financial_matrix corresponding to the names of the rows (or columns)

Details

Mind that usually the rows and columns are named after the firm's tickers.

Author(s)

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