View source: R/psychopdaroc_utilities.R
raw_to_prob | R Documentation |
This function maps raw test values to probabilities based on their position in the ROC curve. Used for IDI/NRI calculations.
raw_to_prob(values, actual, direction = ">=")
values |
Raw test values |
actual |
Binary outcomes (0/1) |
direction |
Direction of test (">=" or "<=") |
Vector of predicted probabilities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.