https://github.com/cran/bayestestR
Raw File
Tip revision: 68a979e69aa2a1e57017730e1397470d5614d216 authored by Dominique Makowski on 02 September 2021, 23:10:30 UTC
version 0.11.0
Tip revision: 68a979e
test-density_at.R
test_that("density_at", {
  expect_equal(density_at(distribution_normal(1000), 0), 0.389, tolerance = 0.1)
  expect_equal(density_at(distribution_normal(1000), c(0, 1))[1], 0.389, tolerance = 0.1)
})
back to top