Nothing
test_that("nice_slopes", {
skip_if_not_installed("effectsize")
expect_snapshot(nice_slopes(
data = mtcars,
response = "mpg",
predictor = "gear",
moderator = "wt"
))
# Multiple dependent variables at once
expect_snapshot(nice_slopes(
data = mtcars,
response = c("mpg", "disp", "hp"),
predictor = "gear",
moderator = "wt"
))
# Add covariates
expect_snapshot(nice_slopes(
data = mtcars,
response = "mpg",
predictor = "gear",
moderator = "wt",
covariates = c("am", "vs")
))
# Three-way interaction (continuous moderator and binary
# second moderator required)
expect_snapshot(nice_slopes(
data = mtcars,
response = "mpg",
predictor = "gear",
moderator = "wt",
moderator2 = "am"
))
})
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.