Re: [R] plot 2 graphs on the same x-y plane

2012-04-10 Thread R. Michael Weylandt
e the latter function. > > Unfortunately, after searching a while to find the solution command, I can > not find the command. I asked the question as to request some help not the > example you shown. > > Any way, thanks for you effort. > > Tawee > > Mac OS10.7.3 > >>

Re: [R] plot 2 graphs on the same x-y plane

2012-04-10 Thread Tawee Laoitichote
command. I asked the question as to request some help not the example you shown. Any way, thanks for you effort. Ta! wee Mac OS10.7.3 > From: michael.weyla...@gmail.com > Date: Tue, 10 Apr 2012 23:31:08 -0400 > Subject: Re: [R] plot 2 graphs on the same x-y plane > To: ohowow2...@hotm

Re: [R] plot 2 graphs on the same x-y plane

2012-04-10 Thread R. Michael Weylandt
This is the same malformatted message you posted on R-SIG-Mac even after David specifically asked for clarification not to reward bad behavior, but perhaps this will enlighten: # Minimal reproducible data! x <- runif(15, 0, 5) y <- 3*x - 2 + runif(15) dat <- data.frame(x = x, y = y) rm(list =

[R] plot 2 graphs on the same x-y plane

2012-04-10 Thread Tawee Laoitichote
hi, I'm doing some data on least square curve fitting. What I like to have is to compare the scatter plot whilst having the fitting curve on the same coordinates. Any suggestting command besides plot(x,y). TaweeMac OSX 10.7.3 [[alternative HTM