Skip to content
Prev 285040 / 398502 Next

How to import time-series data

Gabor Grothendieck wrote
Sorry, I posted via Nabble using the 'raw' command, which got stripped out
it seems. Here's a small sample of the data...
plant,aphid,1,2,3,4
pumpkin,1-2,0.065566,0.057844,0.08,0.086879
pumpkin,1-3,0.107612,0.097272,0.11663,0.160499
squash,1-4,0.126939,0.115003,0.140275,0.188829

columns named 1,2,3,4 etc. correspond to the weight of an aphid after that
many days on that plant. I want to be able to plot the growth of all aphids
on one plot, grouped by plant.


Gabor Grothendieck wrote
Thanks for the link. I can't see any example in the zoo.read vignette which
looks similar. Do I need to transpose my data first, so dates are in one
column? If I do that, how do I keep the plant grouping associated with each
aphid?

Many thanks


--
View this message in context: http://r.789695.n4.nabble.com/How-to-import-time-series-data-tp4381372p4381558.html
Sent from the R help mailing list archive at Nabble.com.