sensitivity_fraction: Calculate an agreement proportion for Sensitivity from a...

View source: R/percent_agreement.R

sensitivity_fractionR Documentation

Calculate an agreement proportion for Sensitivity from a Fraction

Description

This is a wrapper around agreement() that permits use of a numerator and denominator rather than true calls and false calls.

Usage

sensitivity_fraction(
  numerator,
  denominator,
  digits = 0.1,
  interval = 0.95,
  ...
)

Arguments

numerator

The numerator. The number of true positive calls.

denominator

The total number of 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_fraction(100, 100)
sensitivity_fraction(100, 100, 0.01, 0.99)

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