https://github.com/cran/bayestestR
Tip revision: 428249f43a9c6fd0c425b28deb5fee51a9525d69 authored by Dominique Makowski on 18 September 2022, 01:46:03 UTC
version 0.13.0
version 0.13.0
Tip revision: 428249f
test-overlap.R
test_that("overlap", {
set.seed(333)
x <- distribution_normal(1000, 2, 0.5)
y <- distribution_normal(1000, 0, 1)
expect_equal(as.numeric(overlap(x, y)), 0.185, tolerance = 0.01)
})