print.FM.attribution: Print FM.attribution object.

Description Usage Arguments Author(s) Examples

Description

Generic function of print method for factorModelPerformanceAttribution.

Usage

1
2
  ## S3 method for class 'FM.attribution'
 print(fm.attr)

Arguments

fm.attr

FM.attribution object created by factorModelPerformanceAttribution.

Author(s)

Yi-An Chen.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
# load data from the database
 data(managers.df)
 # fit the factor model with OLS
 fit.ts <- fitTimeSeriesFactorModel(assets.names=colnames(managers.df[,(1:6)]),
                               factors.names=c("EDHEC.LS.EQ","SP500.TR"),
                               data=managers.df,fit.method="OLS")

  fm.attr <- factorModelPerformanceAttribution(fit.ts)
  print(fm.attr)
  
## End(Not run)

R-Finance/FactorAnalytics documentation built on May 8, 2019, 3:51 a.m.