[Xts-commits] r848 - in pkg/xtsExtra: . R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Sep 10 20:01:57 CEST 2014


Author: rossbennett34
Date: 2014-09-10 20:01:56 +0200 (Wed, 10 Sep 2014)
New Revision: 848

Modified:
   pkg/xtsExtra/NAMESPACE
   pkg/xtsExtra/R/plot2.R
Log:
fixing export for addLines

Modified: pkg/xtsExtra/NAMESPACE
===================================================================
--- pkg/xtsExtra/NAMESPACE	2014-09-09 22:38:14 UTC (rev 847)
+++ pkg/xtsExtra/NAMESPACE	2014-09-10 18:01:56 UTC (rev 848)
@@ -18,7 +18,6 @@
 export("xtsExtraTheme")
 export("addDrawdowns")
 export("addLines")
-export("addLines2")
 export("addReturns")
 export("addRollingPerformance")
 export("addLegend")

Modified: pkg/xtsExtra/R/plot2.R
===================================================================
--- pkg/xtsExtra/R/plot2.R	2014-09-09 22:38:14 UTC (rev 847)
+++ pkg/xtsExtra/R/plot2.R	2014-09-10 18:01:56 UTC (rev 848)
@@ -785,7 +785,7 @@
   plot_object
 }
 
-addLines2 <- function(x, main="", on=NA, type="l", pch=0, ...){
+addLines <- function(x, main="", on=NA, type="l", pch=0, ...){
   lenv <- new.env()
   lenv$main <- main
   lenv$plot_lines <- function(x, ta, on, type, ...){



More information about the Xts-commits mailing list