tests/testthat/test-plot.R

context("plot.bas")

test_that("test basic BAS plots", {
  data(Hald)
  hald.gprior <- bas.lm(Y ~ ., data = Hald, prior = "g-prior",
                        modelprior = beta.binomial(1, 1),
                        initprobs = "eplogp")
  expect_null(plot(hald.gprior, ask = FALSE))
})

Try the BAS package in your browser

Any scripts or data that you put into this service are public.

BAS documentation built on Nov. 2, 2022, 5:09 p.m.