Nothing
test_that("r2_tjur", {
model <- glm(vs ~ wt + mpg, data = mtcars, family = "binomial")
expect_equal(r2_tjur(model), c(`Tjur's R2` = 0.477692621360749), tolerance = 1e-3)
})
test_that("r2_tjur", {
model <- lm(mpg ~ wt + cyl, data = mtcars)
expect_error(r2_tjur(model))
})
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.