Nothing
context("fixed_intercept_check")
library(testthat)
library(hmi)
#test_check("hmi")
test_that("correct intercept variables are detected", {
expect_true(fixed_intercept_check(y ~ .))
expect_false(fixed_intercept_check(y ~ 0 + .))
expect_false(fixed_intercept_check(y ~ -1 + .))
expect_true(fixed_intercept_check(y ~ x + .))
expect_false(fixed_intercept_check(y ~ 0 + x + .))
expect_false(fixed_intercept_check(y ~ -1 + x + .))
expect_true(fixed_intercept_check(y ~ x))
expect_false(fixed_intercept_check(y ~ 0 + x))
expect_false(fixed_intercept_check(y ~ -1 + x))
})
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.