Nothing
test_that("plot works as expected for naive", {
result <- plot(summary(naive_fit_surv))
vdiffr::expect_doppelganger("forest_plot_naive", result)
})
test_that("plot works as expected for elastic_net", {
result <- plot(summary(elastic_net_fit_surv))
vdiffr::expect_doppelganger("forest_plot_elastic_net", result)
})
test_that("plot works as expected for horseshoe", {
result <- plot(summary(horseshoe_fit_bin))
vdiffr::expect_doppelganger("forest_plot_horseshoe", result)
})
test_that("plot works as expected for compare.data", {
result <- plot(compare(naive_fit_surv, naivepop_fit_surv, elastic_net_fit_surv))
vdiffr::expect_doppelganger("forest_plot_comparison", result)
})
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.