View source: R/qscatter_array.R
qscatter_array | R Documentation |
Creates an array of scatterplots
qscatter_array(variables,with.variables,data,x.lab="",y.lab="",
main="Correlation Array",common.scales=TRUE,alpha=.25)
variables |
variables |
with.variables |
An optional set of variables to correlate with |
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 |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.