predict-methods | R Documentation |
Predicts a time series from a fitted regression model.
## S4 method for signature 'fREG'
predict(object, newdata, se.fit = FALSE, type = "response", ...)
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. |
returns ...
Generic function
Predict method for regression models.
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.