Nothing
## Test other scam methods
## load packages
library("testthat")
test_that("vcov.scam works", {
V <- vcov(sw)
expect_identical(dim(V), c(5L, 5L))
V <- vcov(sw, dispersion = 2)
expect_identical(dim(V), c(5L, 5L))
V <- vcov(sw, freq = TRUE)
expect_identical(dim(V), c(5L, 5L))
V <- vcov(sw, freq = TRUE, parametrized = TRUE)
expect_identical(dim(V), c(5L, 5L))
V <- vcov(sw, freq = TRUE, parametrized = FALSE)
expect_identical(dim(V), c(5L, 5L))
V <- vcov(sw, freq = FALSE, parametrized = FALSE)
expect_identical(dim(V), c(5L, 5L))
})
test_that("coef.scam works", {
beta <- coef(sw)
expect_identical(length(beta), 5L)
beta <- coef(sw, parametrized = FALSE)
expect_identical(length(beta), 5L)
})
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.