Nothing
test_that("forecast.mstl works without lambda", {
fit <- mstl(AirPassengers)
fc <- forecast(fit, h = 12)
expect_s3_class(fc, "forecast")
expect_length(fc$mean, 12)
expect_null(fc$lambda)
})
test_that("forecast.mstl works with lambda", {
fit <- mstl(AirPassengers, lambda = 0)
fc <- forecast(fit, h = 12)
expect_s3_class(fc, "forecast")
expect_length(fc$mean, 12)
expect_equal(fc$lambda, 0, ignore_attr = TRUE)
})
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.