tests/testthat/test-draw_from_prior.R

test_that("can draw from prior distribution", {
  prior <- check_prior(P_f = 1, P_r = 2, J = 2, ordered = FALSE)
  checkmate::expect_list(draw_from_prior(prior, C = 2))
})

Try the RprobitB package in your browser

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

RprobitB documentation built on Aug. 26, 2025, 1:08 a.m.