Learn R Programming

FinNet (version 0.1.2)

FF-basic-methods: Basic methods for objects of class financial_matrix

Description

Basic methods for objects of class financial_matrix

Usage

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

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

Value

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)

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)

Author

Telarico, Fabio Ashtar

Details

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