Deducer (version 0.7-9)

qscatter_array: qscatter_array

Description

Creates an array of scatterplots

Usage

qscatter_array(variables,with.variables,data,x.lab="",y.lab="", main="Correlation Array",common.scales=TRUE,alpha=.25)

Arguments

variables
variables
with.variables
An optional set of variables to correlate with variables. If nothing is specified, all variables in variables are correlated with themselves.
data
A data.frame from which the variables will be selected.
x.lab
A label for the x axis
y.lab
A label for the y axis
main
A label for the plot
common.scales
should common x and y scales be used.
alpha
alpha transparency

Examples

Run this code
data(mtcars)
qscatter_array(d(cyl,disp,hp,drat),
	data=mtcars) + geom_smooth(method="lm")
qscatter_array(d(cyl,disp,hp,drat),d(wt,carb),data=mtcars,common.scales=FALSE)

Run the code above in your browser using DataLab