agreement_fraction: Calculate an agreement proportion

View source: R/percent_agreement.R

agreement_fractionR Documentation

Calculate an agreement proportion

Description

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

Usage

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

Arguments

numerator

The numerator. Typically the number of true calls for a proportion such as PPA or NPA.

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

agreement_fraction(100, 100)
agreement_fraction(100, 100, 0.01, 0.99)

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