[Returnanalytics-commits] r2170 - in pkg/PerformanceAnalytics: . R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Jul 17 01:25:14 CEST 2012


Author: braverock
Date: 2012-07-17 01:25:14 +0200 (Tue, 17 Jul 2012)
New Revision: 2170

Modified:
   pkg/PerformanceAnalytics/NAMESPACE
   pkg/PerformanceAnalytics/R/Return.portfolio.R
Log:
- add @export for Return.portfolio


Modified: pkg/PerformanceAnalytics/NAMESPACE
===================================================================
--- pkg/PerformanceAnalytics/NAMESPACE	2012-07-16 23:19:13 UTC (rev 2169)
+++ pkg/PerformanceAnalytics/NAMESPACE	2012-07-16 23:25:14 UTC (rev 2170)
@@ -89,6 +89,7 @@
 export(Return.cumulative)
 export(Return.excess)
 export(Return.Geltner)
+export(Return.portfolio)
 export(Return.read)
 export(Return.rebalancing)
 export(Return.relative)

Modified: pkg/PerformanceAnalytics/R/Return.portfolio.R
===================================================================
--- pkg/PerformanceAnalytics/R/Return.portfolio.R	2012-07-16 23:19:13 UTC (rev 2169)
+++ pkg/PerformanceAnalytics/R/Return.portfolio.R	2012-07-16 23:25:14 UTC (rev 2170)
@@ -102,7 +102,7 @@
 #' # calculate a portfolio return with rebalancing
 #' round(Return.rebalancing(edhec,weights),4)
 #' 
-#' 
+#' @export
 Return.portfolio <- function (R, weights=NULL, wealth.index = FALSE, contribution=FALSE,geometric=TRUE, ...)
 {   # @author Brian G. Peterson
 



More information about the Returnanalytics-commits mailing list