methods-predict: Regression Models Prediction Function

Description Usage Arguments Value Methods Author(s) Examples

Description

Predicts a time series from a fitted regression model.

Usage

1
2
## S4 method for signature 'fREG'
predict(object, newdata, se.fit = FALSE, type = "response", ...)

Arguments

newdata

new data.

object

an object of class fREG as returned from the function regFit().

se.fit

a logical flag. Should standard errors be included? By default FALSE.

type

a character string by default "response".

...

arguments to be passed.

Value

returns ...

Methods

object = "ANY"

Generic function

object = "fREG"

Predict method for regression models.

Author(s)

Diethelm Wuertz for the Rmetrics R-port.

Examples

1
2
3
4
5
## regSim -
   x <- regSim(model = "LM3", n = 50)
  
## regFit -
   fit <- regFit(Y ~ X1 + X2 + X3, data = x, use = "lm")

fRegression documentation built on Nov. 17, 2017, 2:27 p.m.