plot-methods {fRegression}R Documentation

Regression Model Plot Methods

Description

Plots results obtained from a fitted regression model.

Usage

## S4 method for signature 'fREG, missing':
plot(x, which = "ask", ...)

Arguments

x an object of class 'fREG'.
which a character string selectiong which plot should be displayed. By default which="ask" which allows to generate plots interactively.
... additional arguments to be passed to the underlying plot functions.

Details

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", prjection pursuit regression models use = "ppr", neural network regression models use = "nnet", and polytochomous MARS models use = "polymars".

In addition one can also use the original plot functions of the original models, .e.g. plot(slot(object, "fit).

Methods

x = "ANY", y = "ANY"
Generic function.
x = "fREG", y = "missing"
Plot function to display results obtained from a fitted regression model.

Author(s)

Diethelm Wuertz for the Rmetrics R-port.

Examples

## regSim -
   x = regSim(model = "LM3", n = 50)
  
## regFit -
   fit = regFit(Y ~ X1 + X2 + X3, data = x, use = "lm")
   
## plot -

[Package fRegression version 270.74 Index]