[Blotter-commits] r39 - pkg/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Dec 23 13:40:18 CET 2008


Author: peter_carl
Date: 2008-12-23 13:40:18 +0100 (Tue, 23 Dec 2008)
New Revision: 39

Modified:
   pkg/R/calcAcctAttr.R
Log:
- function name changed


Modified: pkg/R/calcAcctAttr.R
===================================================================
--- pkg/R/calcAcctAttr.R	2008-12-23 12:39:28 UTC (rev 38)
+++ pkg/R/calcAcctAttr.R	2008-12-23 12:40:18 UTC (rev 39)
@@ -17,7 +17,7 @@
     else
         Date = time(Account[[2]][Date])
     table = xts(NULL, order.by=Date) ## Reference time index
-    table = getByPortfolio(Account, Attribute, Date)
+    table = getByPortf(Account, Attribute, Date)
     result = as.xts(t(t(apply(table, FUN='sum', MARGIN=1))))
     colnames(result) = Attribute
     return(result)



More information about the Blotter-commits mailing list