FF {FinNet}R Documentation

Create any firm-firm (FF) matrix

Description

General function to create a firm-firm (FF) matrix

Usage

FF(..., who, ties, id_as_firm_name = NULL, Matrix = NULL, self_ties = FALSE)

Arguments

...

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

who

Whether to take into account: (ownership) co-ownership ; (management) board interlocks, or both (recognises minimum unambiguous strings).

ties

Type of ties to create. Possible values: binary; naive; share (see Details).

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 any matrix in the pipeline contains more than 10,000 cells and the package is installed.

self_ties

Whether to allow self-ties (a 'loop' in graph theory). Defaults to FALSE.

Details

See more specific functions for a detailed overview:

for board interlocks (who == 'management'):

for co-ownership (who == 'ownership'):

for both co-ownership and board interlocks (who == 'both'):

Value

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

Author(s)

Telarico, Fabio Ashtar

See Also

FF.binary.ownership FF.binary.management FF.naive.ownership FF.naive.management FF.norm.ownership FF.norm.management

Examples


# Create the normalised FF matrix of Berkshire Hathaway's holdings by boards interlocks
data('firms_BKB')
FF <- FF(firms_BKB, who = 'man', ties = 'share')


[Package FinNet version 0.1.2 Index]