[Returnanalytics-commits] r3338 - pkg/PerformanceAnalytics/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Feb 25 23:51:31 CET 2014


Author: peter_carl
Date: 2014-02-25 23:51:30 +0100 (Tue, 25 Feb 2014)
New Revision: 3338

Modified:
   pkg/PerformanceAnalytics/R/chart.Events.R
Log:
- fixed example to pass check


Modified: pkg/PerformanceAnalytics/R/chart.Events.R
===================================================================
--- pkg/PerformanceAnalytics/R/chart.Events.R	2014-02-25 19:56:17 UTC (rev 3337)
+++ pkg/PerformanceAnalytics/R/chart.Events.R	2014-02-25 22:51:30 UTC (rev 3338)
@@ -35,9 +35,8 @@
 #' @examples
 #' \dontrun{
 #' data(managers)
-#' R = PerformanceAnalytics:::Drawdowns(managers[,2,drop=FALSE])
 #' n = table.Drawdowns(managers[,2,drop=FALSE])                          
-#' chart.Events(PerformanceAnalytics:::Drawdowns(managers[,2,drop=FALSE]), 
+#' chart.Events(Drawdowns(managers[,2,drop=FALSE]), 
 #' 		dates = n$Trough, 
 #' 		prior=max(na.omit(n$"To Trough")), 
 #' 		post=max(na.omit(n$Recovery)), 



More information about the Returnanalytics-commits mailing list