specificity: Calculate an agreement proportion for Specificity

View source: R/percent_agreement.R

specificityR Documentation

Calculate an agreement proportion for Specificity

Description

A wrapper around agreement that is tailored to NPA or specificity calculations

Usage

specificity(
  true_negatives,
  false_positives,
  digits = 0.1,
  interval = 0.95,
  ...
)

Arguments

true_negatives

The number of correct calls.

false_positives

The number of incorrect calls.

digits

The number of digits to round to. Defaults to 0.1.

interval

The confidence interval to calculate. Defaults to 0.95 for 95%.

...

Parameters passed to agreement().

Value

A formatted agreement proportion.

Examples

specificity(100, 0)
specificity(100, 0, 0.01, 0.99)

bjoleary/dxr documentation built on Dec. 5, 2023, 8:33 p.m.