Nothing
"PMO.hclustering.tree" <-
function(M, dim, hmethod="average", n=50, scale=TRUE, seed=100, distance="euclidean") {
tr <- list();
set.seed(seed);
for (i in 1:n) {
P.M<- Achlioptas.random.projection(d=dim, M, scaling=scale);
if (distance == "euclidean")
d <- stats::dist (t(P.M))
else if (distance == "pearson")
d <- stats::as.dist(1 - stats::cor(P.M))
else
stop("distance measure not implemented");
tr[i] <- list(stats::hclust(d, method = hmethod));
}
tr
}
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.