cutoff_da: Calculate diagnostic accuracy measures for several cutoffs of...

View source: R/cutoff_da.R

cutoff_daR Documentation

Calculate diagnostic accuracy measures for several cutoffs of a quantitative marker.

Description

Calculate diagnostic accuracy measures for several cutoffs of a quantitative marker.

Usage

cutoff_da(
  cutoffs = NULL,
  direction = c(">", "<"),
  test = NULL,
  refstd = NULL,
  digits = 4,
  ...
)

Arguments

cutoffs

Cutoffs considered

direction

> or <: if > a test value greater than the cutoff will be interpreted as a positive test, in < a test value below the threshold

test

Test

refstd

Reference standard

digits

Rounding digits

...

parameters passed to da

Value

A data.frame for diagnostic accuracy studies.


lbraglia/lbdiag documentation built on July 29, 2023, 3:35 p.m.