dlrs: A Diagnostic Likelihood Ratio (DiLR) calculator

View source: R/dilrs.bouldr.R

dlrsR Documentation

A Diagnostic Likelihood Ratio (DiLR) calculator

Description

Computes Diagnostic Likelihood Ratios (DiLRS) for a specified cut-point of the continuous variable. Also outputs additional classification statistics (true/false positives/negatives).

Usage

dlrs(x, scores, outcomes, positive, ...)

Arguments

x

a data frame containing the relevant variables

scores

(character) the name of the continuous variable

outcomes

(character) the name of the classification variable

positive

(string or numeric) the positive case in outcomes

...

Additional arguments including n.cuts or cut (one of these is required). Supplying cut computes dlrs for a specific cut score. Supplying n.cuts computes it for a range of cut scores based on quantiles of the score variable.

Value

a numeric vector containing the classification statistics


jlangaa/bouldr documentation built on May 3, 2024, 5:40 a.m.