Nothing
context("test bootstrap functions")
library(PVplr)
test_that("bootstrap_uncertainty correctly rejects bad '\by'\ values", {
expect_that(mbm_bootstrap_uncertainty(test_df, mbm_variable_check(test_df),
model = "xbx", by = "inappropriate value"), throws_error())
})
test_that("bootstrap_output correctly rejects bad '\by'\ values", {
expect_that(mbm_bootstrap_output(test_df, mbm_variable_check(test_df),
model = "xbx", by = "inappropriate value"), throws_error())
})
test_that("bootstrap_output_from_results correctly rejects bad '\by'\ values", {
expect_that(mbm_bootstrap_output_from_results(mbm_xbx_model(test_df, mbm_variable_check(test_df)),
mbm_variable_check(test_df),
model = "xbx", by = "inappropriate value"), throws_error())
})
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.