tests/testthat/_snaps/get_optim_roc.md

get_optim_roc is deprecated

Code
  x <- as.data.frame(matrix(c(1, 0, 0, 2, 0.75, 0.25, 3, 1, 1), ncol = 3, byrow = TRUE,
  dimnames = list(NULL, c("cutoff", "sensitivity", "specificity")), ))
  expect_equal(get_optim_roc(x)$cutoff, 2)
Warning <lifecycle_warning_deprecated>
  `get_optim_roc()` was deprecated in phylosamp 1.0.0.
  i Please use `optim_roc_threshold()` instead.


HopkinsIDD/phylosamp documentation built on May 28, 2023, 3:21 a.m.