tests/testthat/test-methods-dfba_interval_BF.R

# Beta Interval BF Methods Test
## Tests the output for beta_bayes_factor when method = "interval"

set.seed(77)
object <- dfba_beta_bayes_factor(a_post = 17,
                                 b_post = 5,
                                 method = "interval",
                                 H0 = c(0, .5))

test_that("Show method works",{
  expect_output(show(object))
})

Try the DFBA package in your browser

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

DFBA documentation built on May 29, 2024, 10:36 a.m.