Usage
## S3 method for class 'panels':
pairs(x, smooth = TRUE, scale = FALSE, density=TRUE,ellipses=TRUE,
digits = 2,method="pearson", pch = 20, lm=FALSE,cor=TRUE,jiggle=FALSE,factor=2,
hist.col="cyan",show.points=TRUE,rug=TRUE, breaks = "Sturges",cex.cor=1, ...)
Arguments
smooth
TRUE draws loess smooths
scale
TRUE scales the correlation font by the size of the absolute correlation.
density
TRUE shows the density plots as well as histograms
ellipses
TRUE draws correlation ellipses
lm
Plot the linear fit rather than the LOESS smoothed fits.
digits
the number of digits to show
method
method parameter for the correlation ("pearson","spearman","kendall")
pch
The plot character (defaults to 20 which is a '.').
cor
If plotting regressions, should correlations be reported?
jiggle
Should the points be jittered before plotting?
factor
factor for jittering (1-5)
hist.col
What color should the histogram on the diagonal be?
show.points
If FALSE, do not show the data points, just the data ellipses and smoothed functions
rug
if TRUE (default) draw a rug under the histogram, if FALSE, don't draw the rug
breaks
If specified, allows control for the number of breaks in the histogram (see the hist function)
cex.cor
If this is specified, this will change the size of the text in the correlations. this allows one to also change the size of the points in the plot by specifying the normal cex values. If just specifying cex, it will change the character size, if cex.cor i
...
other options for pairs