tests/testthat/test-confusionMatrix.R

test_that("confusionMatrix works", {

  ## An error will occur if the MUVR Object is from a regression analysis.
  ## It needs to be from classification or multilevel analysis
  expect_error(confusionMatrix(regrModel))

})

Try the MUVR2 package in your browser

Any scripts or data that you put into this service are public.

MUVR2 documentation built on Sept. 16, 2024, 9:06 a.m.