The function plots each variable contained in the matrix 'x' against the all variables contained in matrix 'y'. The function is not very sophisticated and
only used to consider the residuals in a multivariate regression.
Usage
pairs2(x, y, mars = c(4, 4, 0.1, 0.1), ...)
Arguments
x
a numeric matrix. Same number or rows as y.
y
a numeric matrix. Same number or rows as x.
mars
A numerical vector of the form 'c(bottom, left, top, right)'
which gives the number of lines of margin to be specified on
the four sides of the plot. The default is c(4, 4, 0.1, 0.1).
...
Arguments to be passed to methods, such as graphical
parameters (see par). Should not contain xlab and ylab.