[Xts-commits] r694 - pkg/xtsExtra/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jul 25 00:08:28 CEST 2012


Author: weylandt
Date: 2012-07-25 00:08:27 +0200 (Wed, 25 Jul 2012)
New Revision: 694

Modified:
   pkg/xtsExtra/R/barplot.R
Log:
Use try.xts inside barplot.xts

Modified: pkg/xtsExtra/R/barplot.R
===================================================================
--- pkg/xtsExtra/R/barplot.R	2012-07-24 17:31:08 UTC (rev 693)
+++ pkg/xtsExtra/R/barplot.R	2012-07-24 22:08:27 UTC (rev 694)
@@ -26,7 +26,7 @@
                         xaxis.labels = NULL, col = NULL, ...) {
   # Don't like this name for input variable, 
   # but we must match S3 generic so we'll just change it
-  x = height 
+  x = try.xts(height)
   
   # x should be organized as columns by category, rows by period
   # xts format assures us of this



More information about the Xts-commits mailing list