View source: R/spurious_curve.R
| spurious_curve | R Documentation | 
Assess performance using the Transition Pairing Method when the spurious pairing threshold is varied
spurious_curve(trans, predictions, references, thresholds = 1:20)
| trans | a  | 
| predictions | vector of predictions indicating transition  | 
| references | vector of criteria indicating transition  | 
| thresholds | the threshold settings to test | 
an object with class spurious_curve
set.seed(100)
predictions <- (sample(1:100)%%2)
references  <- (sample(1:100)%%2)
trans <- get_transition_info(
  predictions, references, 7
)
head(spurious_curve(trans))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.