model.review.with.rocr: Review model with rocr package function

Description Usage Arguments

View source: R/model.review.with.rocr.r

Description

This function reviews a model using the rocr package.

Usage

1
2
3
model.review.with.rocr(study_sample, outcome_name,
  model_names = c("pred_cat", "tc"), measure = "f",
  models_to_invert = NULL)

Arguments

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.


itslwg/SupaLarna documentation built on Aug. 2, 2020, 1 a.m.