get.matrix.twomode function

Function to create a firm-owner (FO) or firm-manager (FM) matrix

Function to create a firm-owner (FO) or firm-manager (FM) matrix

The possible values of ties are:

  • binary or 1 for binary ties;
  • weighted, valued, or 2 to weight the tie between company ii and the person jj as the value of jj's share of ii's capital;
  • share or 3 (the default) to weight the tie between company ii and the person jj as the share of ii's capital owned by jj.
get.matrix.twomode(..., who, ties = 3, id_as_firm_name = NULL, Matrix = NULL)

Arguments

  • ...: Either multiple objects of class firm or a list of such objects
  • who: Whether to extract the 'managers' or the 'owners' (minimum unambiguous string)
  • ties: Type of ties to create. Defaults to 3; 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 c("list("Matrix")", " package"). Defaults to TRUE when there are more than 10,000 combinations and the package is installed.

Returns

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

  • the rows: Represent firms;
  • the columns: Represent managers/owners (physical and legal persons).

See Also

FM FO.binary FO.naive FO.norm

Author(s)

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