predict_class.model_fit | R Documentation |
These are internal functions not meant to be directly called by the user.
## S3 method for class 'model_fit' predict_class(object, new_data, ...) ## S3 method for class 'model_fit' predict_classprob(object, new_data, ...) ## S3 method for class 'model_fit' predict_hazard(object, new_data, time, ...) ## S3 method for class 'model_fit' predict_confint(object, new_data, level = 0.95, std_error = FALSE, ...) ## S3 method for class 'model_fit' predict_linear_pred(object, new_data, ...) predict_linear_pred(object, ...) ## S3 method for class 'model_fit' predict_numeric(object, new_data, ...) predict_numeric(object, ...) ## S3 method for class 'model_fit' predict_quantile( object, new_data, quantile = (1:9)/10, interval = "none", level = 0.95, ... ) ## S3 method for class 'model_fit' predict_survival(object, new_data, time, interval = "none", level = 0.95, ...) predict_survival(object, ...) ## S3 method for class 'model_fit' predict_time(object, new_data, ...) predict_time(object, ...)
object |
An object of class |
new_data |
A rectangular data object, such as a data frame. |
... |
Arguments to the underlying model's prediction
function cannot be passed here (see
|
level |
A single numeric value between zero and one for the interval estimates. |
std_error |
A single logical for whether the standard error should be returned (assuming that the model can compute it). |
quantile |
A vector of numbers between 0 and 1 for the quantile being predicted. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.