Nothing
test_that("`diagnostic_plot()` works", {
out <- fdakmeans(
simulated30_sub$x,
simulated30_sub$y,
seeds = c(1, 21),
n_clusters = 2,
centroid_type = "medoid",
warping_class = "affine",
metric = "pearson",
use_verbose = FALSE
)
p <- diagnostic_plot(out)
expect_equal(dim(p$data), c(60, 4))
expect_equal(names(p$data), c("Membership", "ObservationID", "name", "value"))
})
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.