Nothing
context("diagnostics")
test_that("diagnostics.R", {
data(Hald)
hald_gprior <- bas.lm(Y ~ ., data=Hald, method='MCMC', MCMC.iterations = 10^6)
expect_null(diagnostics(hald_gprior))
hald_gprior <- bas.lm(Y ~ ., data=Hald, method='MCMC+BAS', MCMC.iterations = 10^6)
expect_error(diagnostics(hald_gprior))
})
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.