ROC_calc | R Documentation |
Dedicated function to plot ROC Curves & compute parameters This function output individual ROC Curves for each x-variable provided.
ROC_calc(data, y_var, x_var, value = "raw")
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? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.