[Xts-commits] r622 - pkg/xtsExtra/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed May 30 05:59:04 CEST 2012


Author: weylandt
Date: 2012-05-30 05:59:04 +0200 (Wed, 30 May 2012)
New Revision: 622

Modified:
   pkg/xtsExtra/man/plot.xts.Rd
Log:
Example/test to verify the type= buglet in 621

Modified: pkg/xtsExtra/man/plot.xts.Rd
===================================================================
--- pkg/xtsExtra/man/plot.xts.Rd	2012-05-30 02:33:34 UTC (rev 621)
+++ pkg/xtsExtra/man/plot.xts.Rd	2012-05-30 03:59:04 UTC (rev 622)
@@ -88,6 +88,9 @@
 # Global arguments play nice as well
 plot(sample_xts[,1:3], main = "A Truly Remarkble Time Series Plot")
 
+# Type = "h" nicely illustrates independent points
+plot(sample_xts[1:75,1:2] - 50.5, type = c("l","h"), lwd = c(1,2))
+
 # Makes a scatterplot if we pass two series
 plot(sample_xts[,1],sample_xts[,2])
 



More information about the Xts-commits mailing list