Nothing
context("Set_prior_distribution")
testthat::skip_on_cran()
testthat::test_that(
desc = "Check messages.",
code = {
expect_message(make_model("X -> Y") %>% get_prior_distribution(3))
expect_equal(make_model("X -> Y") %>% set_prior_distribution(n_draws = 10) %>% get_prior_distribution() %>% nrow(), 10)
}
)
testthat::skip_on_cran()
testthat::test_that(
desc = "Check priors distribution for one node models.",
code = {
expect_equal(make_model("X") %>% set_prior_distribution(n_draws = 10) %>% get_prior_distribution() %>% ncol(), 2)
}
)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.