View source: R/model.review.with.rocr.r
This function reviews a model using the rocr package.
1 2 3 | model.review.with.rocr(study_sample, outcome_name,
model_names = c("pred_cat", "tc"), measure = "f",
models_to_invert = NULL)
|
study_sample |
The study sample list. No default. |
outcome_name |
The name of the outcome variable. No default. |
model_names |
Character vector with list name of predictions. Default: c('pred_cat', 'tc') |
measure |
String. Performance measure for ROCR prediction object. Defaults to "auc". |
models_to_invert |
Character vector. Names of models to invert. Defaults to NULL. |
invert |
Logical. If TRUE, 1 - measure is returned. Defaults to FALSE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.