On Fri, May 21, 2004 at 12:41:53PM -0400, Harold Doran wrote:
> Dear List:
> 
> I cannot seem to find a way to plot my data correctly. I have a small data frame 
> with 6 total variables (x_1 ... x_6).
> 
> I am trying to plot x_1 against x_2 and x_3.
> 

Sundar has already answered the question - here's another trick for
displaying multiple data sets with lines, etc, to avoide cluttering
any one plot too much...

data(iris)
library(lqs)
plot(iris[,1:3],panel=function(x,y,...) {
    points(x,y,...)
    zz <- ltsreg(y~x)
    abline(zz)
})

Cheers

Jason
-- 
Indigo Industrial Controls Ltd.
http://www.indigoindustrial.co.nz
64-21-343-545
[EMAIL PROTECTED]

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to