Nothing
hypotheses <- c(0.5, 0.5, 0, 0)
transitions <- rbind(
c(0, 0, 1, 0),
c(0, 0, 0, 1),
c(0, 1, 0, 0),
c(1, 0, 0, 0)
)
names <- c("H1", "H2", "H3", "H4")
g <- graph_create(hypotheses, transitions, names)
test_that("snapshot print method", {
expect_snapshot(graph_update(g, integer(0)))
expect_snapshot(graph_update(g, c(FALSE, FALSE, FALSE, TRUE)))
expect_snapshot(graph_update(g, c(1, 2, 4)))
})
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.