Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/plot.lmWinsor.R
plot an lmWinsor model or list of models as line(s) with the data as points
1 2 3 4 5 |
x |
an object of class 'lmWinsor', which is either a list of objects of class c('lmWinsor', 'lm') or is a single object of that double class. Each object of class c('lmWinsor', 'lm') is the result of a single 'lmWinsor' fit. If 'x' is a list, it summarizes multiple fits with different limits to the same data. |
n |
integer; with only one explanatory variable 'xNames' in the model, 'n' is the number of values at which to evaluate the model predictions. This is ignored if the number of explanatory variable 'xNames' in the model is different from 1. |
lty, col, lwd, lty.y, lty.x, col.y, col.x, lwd.y, lwd.x |
'lty', 'col' and 'lwd' are each replicated to a length matching the number of fits summarized in 'x' and used with one line for each fit in the order appearing in 'x'. The others refer to horizontal and vertical limit lines. |
... |
optional arguments for 'plot' |
1. One fit or several?
2. How many explanatory variables are involved in the model(s) in 'x'? If only one, then the response variable is plotted vs. that one explanatory variable. Otherwise, the response is plotted vs. predictions.
3. Plot the data.
4. Plot one line for each fit with its limits.
invisible(NULL)
Spencer Graves
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.