Nothing
test_that("make_diff_template returns well-formed object", {
ests <- viztest_chick_estimates()
pred <- ests$estimate
names(pred) <- ests$feed
diff_template <- make_diff_template(pred, include_zero=FALSE)
expect_snapshot_output(print(diff_template))
sig_diff <- c(0,0,1,1,1, 0,1,1,1,0,0,1,0,1,1)
v_diff <- viztest(ests, include_zero=FALSE, sig_diffs=sig_diff)
expect_equal(round(max(v_diff$tab$psame), 2), 0.93)
})
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.