Nothing
context("Base lm/glm")
set.seed(123)
test_that("simr works with lm", {
temp <- powerSim(flm)
expect_is(temp, "powerSim")
expect_equal(nrow(temp$warnings), 0)
expect_equal(nrow(temp$errors), 0)
})
test_that("simr can combine lm and lmer", {
temp <- powerSim(fit=flm, sim=fm1)
expect_is(temp, "powerSim")
expect_equal(nrow(temp$warnings), 0)
expect_equal(nrow(temp$errors), 0)
})
test_that("simr works with glm", {
temp <- powerSim(fglm)
expect_is(temp, "powerSim")
expect_equal(nrow(temp$warnings), 0)
expect_equal(nrow(temp$errors), 0)
})
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.