tests/testthat/test-methods-dfba_point_BF.R

# Beta Point BF Methods Test
## Tests the output for beta_bayes_factor when method = "point"
set.seed(77)
object <- dfba_beta_bayes_factor(a_post = 17,
                                 b_post = 5,
                                 method = "point",
                                 H0 = .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.