Nothing
test_that("unspecified node", {
test_node <- node("A", type="gaussian", parents=c("C", "D"))
expect_equal(str_eq_gaussian(test_node), "A ~ N()")
})
test_that("one parent", {
test_node <- node("A", type="gaussian", parents="C", betas=1.2,
intercept=-12, error=3)
expect_equal(str_eq_gaussian(test_node), "A ~ N(-12 + 1.2*C, 3)")
})
test_that("multiple parents", {
test_node <- node("A", type="gaussian", parents=c("C", "D", "E"),
betas=c(1.2, 0.3, 7), intercept=-12, error=4)
expect_equal(str_eq_gaussian(test_node),
"A ~ N(-12 + 1.2*C + 0.3*D + 7*E, 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.