tests/testthat/test-getBER.R

test_that("getBER works", {
  data("mosquito")
  actual <- Yotu
  set.seed(1)

  predicted <- sampling_from_distribution(actual)


  expect_equal( round(getBER(actual, predicted),2),
                0.80)
})

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.