X <- t(X)
return(sqrt(abs(sweep(sweep(-2*t(X)%*%X, 1, colSums(X*X), "+"), 2, colSums(X*X), "+"))))
Any scripts or data that you put into this service are public.
Add the following code to your website.
Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.