Nothing
# test the scale functions provided by gratia
test_that("the partial effect fill scale works", {
plt <- su_m_bivar_te |>
smooth_estimates(n = 30) |>
ggplot(
aes(
x = x, y = z
)
) +
geom_raster(
aes(
fill = .estimate
)
) +
scale_fill_partial_effect()
expect_doppelganger("partial effect fill scale", plt)
})
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.