Nothing
### Copyright (C) Kevin R. Coombes, 2024
HCSP <- function(dis, K, method = "ward.D2", ...) {
if (!inherits(dis, "dist")) {
dis <- dist(dis) # defaults to Euclidean
}
hc <- hclust(dis, method = method)
sp <- SillyPutty(cutree(hc, k = K, ...), dis)
list(hc = hc, sp = sp)
}
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.