methods-plot: Regression Model Plot Methods

plot-methodsR 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 selecting 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", 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").

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 -

fRegression documentation built on Aug. 11, 2022, 5:12 p.m.