[R] (what I think are) two easy questions

From: Rob Tirrell <r.tirrell_at_gmail.com>
Date: Thu 01 Jun 2006 - 05:01:11 EST


Hello,
I have a table of data (attachment) from which I am trying to generate a graph. I import the data into a vector (is that the right term? matrix maybe), which seems to work fine except there is an X prepended to each date. This is my first problem. My second is how would I make a graph of the average weight of each group (PC3/CO, PC3/FO, FADU/CO, FADU/FO) vs. time. I would like each different groups weight to be differentiated in a legend and all four displayed on one graph, with the dates as x values and weight in grams as the y values. I have been able to grasp much of R, but for some reason this (simple to do in Excel or OpenOffice) evades me. Thanks, Rob



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jun 01 05:07:17 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 01 Jun 2006 - 06:10:27 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.