Re: [R] Line Graphs

2011-06-07 Thread Robert Baer
I want to plot 6 line graphs. I have 10 points 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9 and 1.0. At each point say 0.1, I have 6 variables A, B, C, D, E and F. The variables all have values between 0 and 1 (and including 0 and 1). I also want to label the x axis from 0.1 to 1.0 and the y

Re: [R] Line Graphs

2011-06-07 Thread Robert Baer
Thanks Rob, but the legend is not appearing in the plot. I think the best place for it is on the top left. Is there anyway I can also get it broken down in tenths instead of fifths? The legend is easy; just specify where you want it. The first 2 parameters specify the x, y of the top left

Re: [R] Line Graphs

2011-06-06 Thread Jim Silverton
Hello, I want to plot 6 line graphs. I have 10 points 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9 and 1.0. At each point say 0.1, I have 6 variables A, B, C, D, E and F. The variables all have values between 0 and 1 (and including 0 and 1). I also want to label the x axis from 0.1 to 1.0 and the y

[R] Line graphs with NA

2008-12-28 Thread Chris Poliquin
Hi, I have sets of three points provided by subjects that I want to graph as lines over a specific range, but the subjects were split into two groups and provided different points. The subjects provided a y-value for the given x-value, for example: Subject: 1 2 3 4

Re: [R] Line graphs with NA

2008-12-28 Thread Gabor Grothendieck
Try this. na.approx fills in missing values. See ?na.approx, ?approx and ?plot.zoo and the three zoo vignettes. Lines - 'Subject: 1 2 3 4 1NA3 2 NA 24NANA 4 366.5 6 5.5 47NA NA7 5