Nothing
DD <- generate_linear_dataset(5, 100)
DDna <- DD
DDna[sample(100, 10), sample(6, 1)] <- NA
DDna[sample(100, 10), sample(6, 1)] <- NA
DDna[sample(100, 10), sample(6, 1)] <- NA
levels(DD$C) <- c("a", "b")
levels(DD$X3) <- c("qqqq", "pppp")
sev <- full(DD, order = c("X1", "C", "X2"))
## not testing with stages_hc because slow
algs <- list(
stages_bhc,
stages_bj,
stages_fbhc
)
test_that("search greedy for data.frames", {
for (alg in algs) {
expect_s3_class(search_greedy(data = DD, alg = alg), class = "sevt")
}
})
DD.t <- table(DD)
test_that("search greedy for table", {
for (alg in algs) {
expect_s3_class(search_greedy(data = DD.t, alg = alg), class = "sevt")
}
})
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.