Nothing
'pcweights' <- function(Y, weights.num = NULL, cutoff = 99) {
if (is.null(weights.num)) {
weights.num = numSingularValues(Y, cutoff = cutoff)
}
s = svd(Y)
ans = NULL
ans$UD = s$u %*% diag(s$d)[,1:weights.num]
ans$Vprime = t(s$v)[1:weights.num,]
return (ans)
}
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.