plres2x: Plot Residuals vs. Two Explanatory Variables In regr0: Building regression models

Description

Plot 2 variables, showing a third one with line symbols. Most suitable for showing residuals of a model as this third variable.

Usage

 ```1 2 3``` ```plres2x(formula = NULL, reg = NULL, data = reg, restricted = NULL, size = 0, slwd = 1, scol = 2, xlab = NULL, ylab = NULL, xlim = NULL, ylim = NULL, main = NULL, cex.title = NULL, ...) ```

Arguments

 `formula` a formula of the form `z~x+y`, where `x, y` are the 2 variables shown by the coordinates of points, and z is shown by line symbols: their orientation corresponds to the sign of `z`, and their length, to the absolute value. `reg` the result of the model fit `data` the data.frame where the variables are found `restricted` absolute value which truncates the size. Truncation is shown by stars at the end of the line symbols. `size` the symbols are scaled so that `size` is the length of the largest symbol, as a percentage of the length of the horizontal axis. Defaults to `5/log10(n)`, where `n` is the number of observations `slwd` line width of the line symbols `scol` color of the symbols `xlab, ylab` labels for horizontal and vertical axes. Default to the variable names `xlim, ylim` plot ranges for horizontal and vertical axes. They are expanded to accomodate the symbols `main` main title of plot. Defaults to `formula` `cex.title` character expansion for the main title `...` further arguments, passed to `plot`

none.

Author(s)

Werner A. Stahel and Andreas Ruckstuhl

Examples

 ```1 2 3 4``` ``` data(d.blast) t.r <- regr(log10(tremor)~location+log10(distance)+log10(charge), data=d.blast) plres2x(~distance+charge, t.r) ```

regr0 documentation built on May 2, 2019, 4:52 p.m.