asDistObject <- function(x, n, method) {
structure(.Data = x,
Size = n,
Labels = 1:n,
Diag = F,
Upper = F,
method = method,
class = "dist")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.