Learn R Programming

pse (version 0.3.0)

corPlot: Produces a series of scatterplots from data

Description

Produces a series of scatterplots from data

Usage

corPlot(vars, res = NULL, index.data, index.res, log, add.lm, ...)

Arguments

vars
Either a data.frame consisting of the data to plot on the x axis, or an LHS object containing the data to be plot
res
A data.frame consisting of the model results to be plotted on the y axis, if vars is passed as a data.frame. If vars is an LHS object, this parameter is ignored.
index.data
The indices of the data columns to be plotted. Useful when plotting from LHS objects
index.res
The indices of the result columns to be plotted. Useful when plotting from LHS objects
log
Whether the plots should be done on a logarithmic scale. See the help on plot.default()
add.lm
Boolean. Whether to include a simple linear model on the plots. Defaults to TRUE.
...
Additional parameters to pass to the lower level plotting functions