| grass_reference | R Documentation |
Returns the prevalence-conditioned reference values for Cohen's kappa,
PABAK, and Gwet's AC1 at a given prevalence and a chosen rater-quality
band. The reference is the analytical Youden-J-optimal metric value on
the Se = Sp diagonal at the chosen reference_level, under conditional
independence of the two raters given the true class.
grass_reference(prevalence, reference_level = 0.85, quality = NULL)
prevalence |
Numeric in |
reference_level |
One of |
quality |
Deprecated alias. |
In the paper these are called the prevalence-conditioned thresholds.
The package uses the name reference because its API reports the
values alongside prevalence index and bias index rather than applying
them as cutoffs.
A grass_reference S3 object containing a 3-row data.frame
(one row per metric) with columns metric, reference, J,
reference_level, quality, prevalence. The quality column
retains the legacy "high"/"medium" label for 0.85 and 0.70 bands
and is NA_character_ for the new 0.80 / 0.90 bands.
grass_reference() is deprecated in grass 0.2.0. The percentile machinery
in position_on_surface() and the new grass_report() supersede the
fixed reference-curve lookup. See vignette("grassr") for the
v0.2.0 surface-position workflow.
grass_reference(0.5)
grass_reference(0.1, reference_level = 0.70)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.