accept | R Documentation |
A flexible version of ACCEPT 2.0 model, which imputes predictors using MICE approach.
accept(
newdata,
format = "tibble",
version = "flexccept",
prediction_interval = FALSE,
return_predictors = FALSE,
...
)
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. |
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. |
patientData with prediction.
results <- accept(newdata = samplePatients)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.