plot-methods | R Documentation |
Plots results obtained from a fitted regression model.
## S4 method for signature 'fREG,missing' plot(x, which = "ask", ...)
x |
an object of class 'fREG'. |
which |
a character string selecting which plot should be displayed.
By default |
... |
additional arguments to be passed to the underlying plot functions. |
The plots are a set of graphs which are common to the regression
models implemented in the function regFit
. This includes
linear regression models use="lm"
,
robust linear regression models use="rlm"
,
generalized linear regression models use = "glm"
,
generalized additive regression models use = "gam"
,
projection pursuit regression models use = "ppr"
,
neural network regression models use = "nnet"
, and
polychotomous MARS models use = "polymars"
.
In addition one can also use the original plot functions of the
original models, .e.g. plot(slot(object, "fit")
.
Generic function.
Plot function to display results obtained from a fitted regression model.
Diethelm Wuertz for the Rmetrics R-port.
## regSim - x = regSim(model = "LM3", n = 50) ## regFit - fit = regFit(Y ~ X1 + X2 + X3, data = x, use = "lm") ## plot -
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.