accept {accept} | R Documentation |
A flexible version of ACCEPT 2.0 model, which imputes predictors using MICE approach.
Description
A flexible version of ACCEPT 2.0 model, which imputes predictors using MICE approach.
Usage
accept(
newdata,
format = "tibble",
version = "accept2",
prediction_interval = FALSE,
return_predictors = FALSE,
...
)
Arguments
newdata |
new patient data with missing values to be imputed before prediction with the same format as accept samplePatients. |
format |
default is "tibble". Can also be set to "json". |
version |
indicates which version of ACCEPT needs to be called. Options include "accept1", "accept2", and "flexccept" |
prediction_interval |
default is FALSE. If set to TRUE, returns prediction intervals of the predictions. |
return_predictors |
default is FALSE. IF set to TRUE, returns the predictors along with prediction results. |
... |
for other versions of accept. |
Value
patientData with prediction.
Examples
results <- accept(newdata = samplePatients)
[Package accept version 1.0.2 Index]