cut_perf {BioPred}R Documentation

Cutoff Performance Evaluation

Description

This function evaluates the performance of a predictive model at a selected cutoff point.

Usage

cut_perf(
  yvar,
  censorvar = NULL,
  xvar,
  cutoff,
  dir,
  xvars.adj = NULL,
  data,
  type,
  yvar.display = yvar,
  xvar.display = xvar
)

Arguments

yvar

Response variable name.

censorvar

Censoring variable name (0-censored, 1-event).

xvar

Biomarker name.

cutoff

Selected cutoff value.

dir

Direction for desired subgroup (">", ">=", "<", "<=").

xvars.adj

Other covariates to adjust when evaluating the performance.

data

Data frame containing the variables.

type

Type of analysis: "c" for continuous, "s" for survival, and "b" for binary.

yvar.display

Display name of response variable.

xvar.display

Display name of biomarker variable.

Value

A list containing various performance metrics and optionally, plots.


[Package BioPred version 1.0.1 Index]