FO.naive {FinNet}R Documentation

Function to create a naive-valued firm-owner (FO) matrix

Description

The values are simply the value of the owner j's stake in firm i.

Usage

FO.naive(..., id_as_firm_name = NULL, Matrix = NULL)

Arguments

...

Either multiple objects of class firm or a list of such objects

id_as_firm_name

Whether to use the ticker as the firm's name. Defaults to TRUE if all firms' id is neither NULL nor NA.

Matrix

Whether to use the Matrix package. Defaults to TRUE when there are more than 10,000 combinations and the package is installed.

Value

A matrix object of class financial_matrix (possibly using the Matrix package) in which:

the rows

Represent firms;

the columns

Represent owners (physical and legal persons).

Author(s)

Telarico, Fabio Ashtar

See Also

FM FO.binary FO.norm

Examples


# Create the naive FO matrix of Berkshire Hathaway's holdings

data('firms_BKB')
FO <- FO.naive(firms_BKB)



[Package FinNet version 0.1.2 Index]