Nothing
# ModelParamsNormal ----
## class ----
test_that(".ModelParamsNormal works as expected", {
result <- expect_silent(
.ModelParamsNormal(
mean = c(1, 5),
cov = diag(2),
prec = diag(2)
)
)
expect_valid(result, "ModelParamsNormal")
})
## constructor ----
test_that("ModelParamsNormal object can be created with user constructor", {
result <- expect_silent(
ModelParamsNormal(
mean = c(1, 5),
cov = diag(4, ncol = 2, nrow = 2)
)
)
expect_valid(result, "ModelParamsNormal")
})
test_that("ModelParamsNormal object can be created also for larger dimensions", {
result <- expect_silent(
ModelParamsNormal(
mean = c(1, 5, 4, 6),
cov = diag(3, ncol = 4, nrow = 4)
)
)
expect_valid(result, "ModelParamsNormal")
})
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.