#
# out1 <- glm_out <- glm(am ~ mpg, family = binomial, data = mtcars)
# out2 <- glmCI(glm_out)
# saveRDS(list(out1=out1, out2=out2),file = 'tests/testthat/glmCI_out.rda')
test_that("glmCI() with defaults and options set", {
expected <- readRDS('glmCI_out.rda')
expect_equal(glmCI(glm(am ~ mpg, family = binomial, data = mtcars)), expected[[2]])
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.