Nothing
test_that("output from best subsets regression is as expected", {
model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars)
expect_snapshot(ols_step_best_subset(model))
})
test_that("output from best subsets regression is as expected when using different metric", {
model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars)
expect_snapshot(ols_step_best_subset(model, metric = "aic"))
})
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.