Usage
scatter.hist(x,y=NULL,smooth=TRUE,ab=FALSE,correl=TRUE,density=TRUE,ellipse=TRUE,digits=2, cex.cor=1,title="Scatter plot + histograms",xlab=NULL,ylab=NULL,...)
Arguments
x
The X vector, or the first column of a data.frame or matrix.
y
The Y vector, of if X is a data.frame or matrix, the second column of X
smooth
if TRUE, then loess smooth it
ab
if TRUE, then show the best fitting linear fit
correl
TRUE: Show the correlation
density
TRUE: Show the estimated densities
ellipse
TRUE: draw 1 and 2 sigma ellipses and smooth
digits
How many digits to use if showing the correlation
cex.cor
Adjustment for the size of the correlation
...
Other parameters for graphics