powered by
Assess performance using the Transition Pairing Method when the spurious pairing threshold is varied
spurious_curve(trans, predictions, references, thresholds = 1:20)
an object with class spurious_curve
spurious_curve
a transition object
transition
vector of predictions indicating transition (1) or non-transition (2)
(1)
(2)
vector of criteria indicating transition (1) or non-transition (2)
the threshold settings to test
set.seed(100) predictions <- (sample(1:100)%%2) references <- (sample(1:100)%%2) # \donttest{ trans <- get_transition_info( predictions, references, 7 ) head(spurious_curve(trans)) # }
Run the code above in your browser using DataLab