get.matrix.adjacency.both: Create a firm-firm (FF) matrix

View source: R/04.FF_both.R

get.matrix.adjacency.bothR Documentation

Create a firm-firm (FF) matrix

Description

Function to create a firm-firm (FF) matrix based on both common ownership and board interlocks

Usage

get.matrix.adjacency.both(
  ...,
  ties = 3,
  id_as_firm_name = NULL,
  Matrix = NULL,
  self_ties = FALSE,
  combining = "sum"
)

Arguments

...

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

ties

Type of ties to create. Defaults to 2; for other possible values, 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.

combining

How to combine the FF matrix for managers and that for owners (see Details);

Details

The possible values of ties and their effect relative to the value of who are:

binary or 1 for binary ties: 1 if there is at least one common manager or owner, 0 otherwise.

naive, or 2 for 'naively' valued ties indicating the number of common managers and owners.

share or 3 (the default) for 'normalised' tie values. The actual value depends on combining:

  • for sum (the default), the sum of the share of i's owners who are also amongst j's owners and the share of i's managers who are also amongst j's managers (normalised to 2);

  • for mean or avg, the mean of the share of i's owners who are also amongst j's owners and the share of i's managers who are also amongst j's managers (normalised to 1);

  • for max, the maximum between the share of i's owners who are also amongst j's owners and the share of i's managers who are also amongst j's managers (normalised to 1);

  • for min, the minimum between the share of i's owners who are also amongst j's owners and the share of i's managers who are also amongst j's managers (normalised to 1);

Value

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

Author(s)

Telarico, Fabio Ashtar

See Also

FF.

Other Internal matrix (de)constructrs: extract.matrix(), get.matrix.adjacency(), load.Matrix()


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