spurious_curve: Perform a spurious curve analysis

View source: R/spurious_curve.R

spurious_curveR Documentation

Perform a spurious curve analysis

Description

Assess performance using the Transition Pairing Method when the spurious pairing threshold is varied

Usage

spurious_curve(trans, predictions, references, thresholds = 1:20)

Arguments

trans

a transition object

predictions

vector of predictions indicating transition (1) or non-transition (2)

references

vector of criteria indicating transition (1) or non-transition (2)

thresholds

the threshold settings to test

Value

an object with class spurious_curve

Examples

set.seed(100)
predictions <- (sample(1:100)%%2)
references  <- (sample(1:100)%%2)

trans <- get_transition_info(
  predictions, references, 7
)
head(spurious_curve(trans))


PAutilities documentation built on Aug. 21, 2022, 9:05 a.m.