FF.naive.both {FinNet} | R Documentation |
Create a complete naive-valued firm-firm (FF) matrix
Description
Function to create a naive-valued firm-firm (FF) matrix based on both common ownership and board interlocks
Usage
FF.naive.both(
...,
id_as_firm_name = NULL,
Matrix = NULL,
self_ties = FALSE,
combining = "sum"
)
Arguments
... |
Either multiple objects of class |
id_as_firm_name |
Whether to use the ticker as the firm's name. Defaults to |
Matrix |
Whether to use the |
self_ties |
Whether to allow self-ties (a 'loop' in graph theory). Defaults to |
combining |
How to combine the FF matrix for managers and that for owners. Possible values:
|
Details
The ties' value will reflect the count of common owners and membership depending on combining
:
-
sum
: sum of the counts; -
mean
oraverage
: average of the counts; -
min
: minimum of the counts; -
max
: maximum of the counts.
Value
A matrix object of class financial_matrix
(possibly using the Matrix
package)
Author(s)
Telarico, Fabio Ashtar
See Also
FF FF.binary.both FF.norm.both
Examples
# Create the complete naive firm-firm matrix for the companies held by Berkshire Hathaway
data('firms_BKB')
FF <- FF.naive.both(firms_BKB)