Nothing
# Tests "ttmatrixFromMarginal" function
context("construct tt martrix of a bca from marginal probabiltiies")
library(dst)
test_that("test_ttmatrixFromMarginal", {
p <- c(2,2,1.5,1.2,1,0,0)
tt <- ttmatrixFromMarginal(p, FALSE)
expect_equal(dim(tt)[2], 7)
expect_equal(dim(tt)[1], 5)
})
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.