Re: [R] scatterplots in car package

2010-02-23 Thread John Fox
Dear Robert, scatterplot() uses layout() to display the scatterplot along with the marginal boxplots, and can't be used with par("mfrow"); scatterplot is meant primarily for data analysis, not really for making presentation graphs. Regards, John On Tue, 23 Feb 2010 03:40:39 -0800 (PST) thre

Re: [R] scatterplots in car package

2010-02-23 Thread Hrishi Mittal
Robert, It seems that the scatterplot() command is starting a new graphics device. You could use the base plot command to achieve the same results including the non-parametric fit (scatterplot() uses a lowess fit): #First it's important to save the distributions as objects, otherwise rnorm() wil

[R] scatterplots in car package

2010-02-23 Thread threshold
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 come