ROC_calc: Dedicated function to plot ROC Curves & compute parameters...

ROC_calcR Documentation

Dedicated function to plot ROC Curves & compute parameters This function output individual ROC Curves for each x-variable provided.

Description

Dedicated function to plot ROC Curves & compute parameters This function output individual ROC Curves for each x-variable provided.

Usage

ROC_calc(data, y_var, x_var, value = "raw")

Arguments

data

A dataframe with row corresponding to samples/patients and columns to variables.

y_var

A character string corresponding to the y variable. !!Must be a 2-level factor (TRUE/FALSE, 1/0)

x_var

A vector of numeric variable to test

value

Use raw parameters value or predictions from logit model?


VincentAlcazer/StatAid documentation built on Aug. 27, 2024, 1:50 a.m.