View source: R/class-highmlr-fit.R
| predict.highmlr_fit | R Documentation |
Predict from a highmlr_fit
## S3 method for class 'highmlr_fit'
predict(object, new_data, type = c("linear_pred", "survival", "risk"), ...)
object |
A 'highmlr_fit' object. |
new_data |
A data frame containing the features used in fitting. |
type |
One of '"linear_pred"', '"survival"', or '"risk"'. Availability depends on the underlying model. |
... |
Passed to the underlying model's predict method. |
Predicted values (vector or tibble depending on 'type').
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.