[Returnanalytics-commits] r3372 - pkg/FactorAnalytics/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Apr 15 21:06:05 CEST 2014


Author: chenyian
Date: 2014-04-15 21:06:04 +0200 (Tue, 15 Apr 2014)
New Revision: 3372

Modified:
   pkg/FactorAnalytics/R/plot.StatFactorModel.r
Log:
fix bug in plot.StatFactorModel.r

Modified: pkg/FactorAnalytics/R/plot.StatFactorModel.r
===================================================================
--- pkg/FactorAnalytics/R/plot.StatFactorModel.r	2014-04-15 17:49:26 UTC (rev 3371)
+++ pkg/FactorAnalytics/R/plot.StatFactorModel.r	2014-04-15 19:06:04 UTC (rev 3372)
@@ -400,7 +400,7 @@
                }
                # function to extract component contribution to sd from list
                getCSD = function(x) {
-                 x$cr.fm
+                 x$cSd.fm
                }
                # extract contributions to SD from list
                cr.sd = sapply(factor.sd.decomp.list, getCSD)



More information about the Returnanalytics-commits mailing list