addPrevalence: Visualizes the prevalence on the RBP curve.

Description Usage Arguments Value

View source: R/addPrevalence.R

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

1
addPrevalence(obj, plot.values = TRUE, digits = 3L, col = "grey")

Arguments

obj

[RBPObj]
Data container for RBP curve.

plot.values

[logical(1)]
Whether the values of the corresponding measure should be added to the plot? Default is FALSE.

digits

[numeric(1)]
Indicates the number of decimal places for the values that are plotted when plot.values = TRUE. Default is 3L.

col

[character(1) | numeric(1)]
A specification for the plotting color.

Value

[invisible(NULL)].


RBPcurve documentation built on May 29, 2017, 9:05 a.m.