addPrevalence {RBPcurve} | R Documentation |
Visualizes the prevalence on the RBP curve.
Description
The prevalence is the proportion of a population having a specific condition.
In binary classification, the condition refers to whether the target variable has the value
1
, that is, whether the target variable corresponds to the positive class.
Usage
addPrevalence(obj, plot.values = TRUE, digits = 3L, col = "grey")
Arguments
obj |
[ |
plot.values |
[ |
digits |
[ |
col |
[ |
Value
[invisible(NULL)
].
[Package RBPcurve version 1.2 Index]