predict.hfr | R Documentation |
Predict values using a fitted hfr
model
## S3 method for class 'hfr'
predict(object, newdata = NULL, ...)
object |
Fitted 'hfr' model. |
newdata |
Matrix or data.frame of new values for |
... |
additional methods passed to |
Predictions are made by multiplying the newdata
object with the estimated coefficients.
A vector of predicted values.
Johann Pfitzinger
hfr
, cv.hfr
and coef
methods
x = matrix(rnorm(100 * 20), 100, 20)
y = rnorm(100)
fit = hfr(x, y, kappa = 0.5)
predict(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.