Re: [R] Creating a simple line graph

2009-08-27 Thread Liviu Andronic
Hello On 8/27/09, Josh Roll j_r...@hotmail.com wrote: I am having trouble getting both graphs on the same page. Its separating them, especially when i write them to a pdf. I need visual comparison capabilities. Do i need to include the two data sets in the same plot to make this

[R] Creating a simple line graph

2009-08-25 Thread PDXRugger
Hey everyone, Sorry for yet another simple question but hopefully it makes whoever comes up with the answer feel good about helping others. I would like to simply plot the following two sets of data in a line graph. The one set is an observed set of points and the latter is the predicted.

Re: [R] Creating a simple line graph

2009-08-25 Thread Liviu Andronic
Hello I couldn't quite understand exactly what graph you are looking for, so I'd be unable to provide code. Couple of pointers, though. - Put your data into a data frame and look at Rcmdr Graphs menu. It can do many types of them, and it should give you enough examples to get started with. - Try

Re: [R] Creating a simple line graph

2009-08-25 Thread Petr PIKAL
Hi Do not use cbind as it results in matrix and it can have only data of one type, in your case character. Use MeanEst2000.Sz=data.frame(Sz,Pred) instead. And you probably could go step further to put everything into one data frame DF - data.frame(Sz,Pred, Obs) then with(DF, plot(Pred,