Nothing
test_that("summary and ", {
library(clustTMB)
data("faithful")
m1 <- clustTMB(response = faithful, covariance.structure = "VVV")
l <- -m1$opt$objective
expect_equal(l, logLik(m1)[1])
expect_equal(-2 * l + 2 * length(m1$opt$par), AIC(m1))
expect_equal(summary(m1$sdr, "fixed"), summary(m1, "fixed"))
expect_equal(
summary(m1$sdr, "fixed", p.value = TRUE),
summary(m1, "fixed", p.value = TRUE)
)
expect_equal(summary(m1$sdr, "all"), summary(m1, "all"))
expect_equal(summary(m1$sdr), summary(m1))
expect_equal(m1$opt$par, coef(m1))
})
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.