powered by
Extrapolate the model for new observations in a way that is consistent with the fitted values
# S3 method for WH_2d predict(object, newdata = NULL, ...)
An object of class "WH_2d" with additional components for model prediction.
"WH_2d"
An object of class "WH_2d" returned by the WH() function
WH()
A list containing two vectors indicating the new observation positions
Not used
object <- WH(portfolio_LTC$d, portfolio_LTC$ec) object_extra <- predict(object, newdata = list(age = 60:109, duration = 0:19)) plot(object_extra)
Run the code above in your browser using DataLab