FF | R Documentation |
General function to create a firm-firm (FF) matrix
FF(..., who, ties, id_as_firm_name = NULL, Matrix = NULL, self_ties = FALSE)
... |
Either multiple objects of class |
who |
Whether to take into account: ( |
ties |
Type of ties to create. Possible values: |
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 |
See more specific functions for a detailed overview:
for board interlocks (who == 'management'
):
FF.binary.management
, if ties = 'binary'
;
FF.binary.management
, if ties = 'naive'
;
FF.norm.management
, if ties = 'share'
.
for co-ownership (who == 'ownership'
):
FF.binary.ownership
, if ties = 'binary'
;
FF.naive.ownership
, if ties = 'naive'
;
FF.norm.ownership
, if ties = 'share'
.
for both co-ownership and board interlocks (who == 'both'
):
FF.binary.both
, if ties = 'binary'
;
FF.naive.both
, if ties = 'naive'
;
FF.norm.both
, if ties = 'share'
.
A matrix object of class financial_matrix
(possibly using the Matrix
package)
Telarico, Fabio Ashtar
Other Financial_matrix builders:
FF.binary.both()
,
FF.binary.management()
,
FF.binary.ownership()
,
FF.naive.both()
,
FF.naive.management()
,
FF.naive.ownership()
,
FF.norm.both()
,
FF.norm.management()
,
FF.norm.ownership()
# Create the normalised FF matrix of Berkshire Hathaway's holdings by boards interlocks
data('firms_BKB')
FF <- FF(firms_BKB, who = 'man', ties = 'share')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.