[R] From data frame to time series matrix and plot [UPDATE]

Rich Shepard rshepard at appl-ecosys.com
Tue Mar 4 18:21:37 CET 2014


On Tue, 4 Mar 2014, Rich Shepard wrote:

>  Would xyplot() be a better function for these data?

   Here's the syntax for the xyplot() command; the output is attached. What
have I done incorrectly here?

xyplot(col.riv.ts, data = NULL, screens = 1, cut = FALSE, auto.key = TRUE)

   Data:

structure(c(16126, 16127, 16128, 16129, 16130, 16131, 128000, 
126000, 135000, 136000, 153000, 172000, 3.4, 3.5, 3.7, 4, 4.2, 
4.1), .Dim = c(6L, 3L), .Dimnames = list(c("[787,]", "[788,]", 
"[789,]", "[790,]", "[791,]", "[792,]"), c("date", "disch", "temp"
)))

Rich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: col.riv.ts-3.pdf
Type: application/pdf
Size: 13561 bytes
Desc: 
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20140304/f9213fc5/attachment-0002.pdf>


More information about the R-help mailing list