[R] scatterplots in car package

threshold r.kozarski at gmail.com
Tue Feb 23 12:40:39 CET 2010


Hi, using scatterplot in 'car' package. 
There are 4 plots to be pictured together (ignore data used):

library(car)
par(mfrow=c(3,1))
ts.plot(rnorm(100))
ts.plot(rnorm(100))
scatterplot(rnorm(100),rnorm(100),boxplot="",smooth=T) # scatter with
non-parametric fit

problem is that the last one comes 'always' separate. 

Is there any way to solve it?? of course can use
fit=lm(rnorm(100)~rnorm(100)); plot(...);abline(fit), but I want to keep the
non-paramteric fit.

best regards, robert

 

-- 
View this message in context: http://n4.nabble.com/scatterplots-in-car-package-tp1565791p1565791.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list