Nothing
context("Check that the corrected plots have increasing heights")
test_that("'adjClust' returns a dendrogram with increasing heights for
'mode=corrected'", {
data("iris")
dissim <- dist(iris[ ,1:4])^2
sim <- 1-as.matrix(dissim)/2
fit <- adjClust(sim)
corrected_dendo <- as.hclust(plot(fit, mode = "corrected"))
expect_equal(sum(diff(corrected_dendo$height) < 0), 0)
})
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.