predict-methods {fRegression} | R Documentation |
Regression Models Prediction Function
Description
Predicts a time series from a fitted regression model.
Usage
## S4 method for signature 'fREG'
predict(object, newdata, se.fit = FALSE, type = "response", ...)
Arguments
newdata |
new data. |
object |
an object of class |
se.fit |
a logical flag. Should standard errors be included?
By default |
type |
a character string by default |
... |
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
## regSim -
x <- regSim(model = "LM3", n = 50)
## regFit -
fit <- regFit(Y ~ X1 + X2 + X3, data = x, use = "lm")
[Package fRegression version 4021.83 Index]