Nothing
test_that("get_transformation - detect powers", {
data(iris)
m <- lm(Sepal.Length^2 ~ Species, data = iris)
fun <- get_transformation(m)
expect_identical(fun$transformation(2), 4)
expect_identical(fun$inverse(4), 2)
m <- lm(I(Sepal.Length^3) ~ Species, data = iris)
fun <- get_transformation(m)
expect_identical(fun$transformation(2), 8)
expect_identical(fun$inverse(8), 2)
})
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.