[R] convert zoo object to "standard" R object so I can plot and output to csv file

R. Michael Weylandt michael.weylandt at gmail.com
Thu Feb 23 21:25:48 CET 2012

If you could just construct the zoo object you want to plot and then
use dput() on it to create a plain-text representation (safe for
emailing) that'd make it easiest for us to help you. We can't do much
right now since we don't have the text file in question.


On Thu, Feb 23, 2012 at 3:21 PM, Gabor Grothendieck
<ggrothendieck at gmail.com> wrote:
> On Thu, Feb 23, 2012 at 3:06 PM, Henry <hccoles at lbl.gov> wrote:
>> Another simple question - trying to specify xlim in a zoo plot and getting
>> error
>> my plot line is
>> plot(z1,
>> ylim=c(-100,3000),xlim=c(chron("10/30/2011","00:00:00"),chron("10/30/2011","00:20:00")),type="b",xlab="",ylab="1
>> Minute Fit",cex.lab=1.3)
>> Error in substring(paste("0", v$day, sep = ""), first = nchar(paste(v$day)))
>> :
>>  invalid substring argument(s)
>> Most of the complete code pasted below.....
> Most???????????
> Read the last two lines of every message to r-help.
> --
> Statistics & Software Consulting
> GKX Group, GKX Associates Inc.
> tel: 1-877-GKX-GROUP
> email: ggrothendieck at gmail.com
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list