test_that("`tsl_smooth()` works", {
tsl <- tsl_simulate(n = 2,
seed = 1)
tsl_sd <- tsl_stats(tsl = tsl)$sd
tsl_smooth <- tsl_smooth(tsl = tsl, window = 5, f = mean)
tsl_smooth_sd <- tsl_stats(tsl = tsl_smooth)$sd
expect_true(
all(
tsl_sd > tsl_smooth_sd
)
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.