sensitivity: Calculate an agreement proportion for Sensitivity

View source: R/percent_agreement.R

sensitivityR Documentation

Calculate an agreement proportion for Sensitivity

Description

A wrapper around agreement that is tailored to PPA or sensitivity calculations

Usage

sensitivity(
  true_positives,
  false_negatives,
  digits = 0.1,
  interval = 0.95,
  ...
)

Arguments

true_positives

The number of correct calls.

false_negatives

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

sensitivity(100, 0)
sensitivity(100, 0, 0.01, 0.99)

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