Nothing
prox <-
function(B, threshold, group) {
B. = B
for (g in 1:max(group)) {
SVD = svd(B[group == g, ])
D = (SVD$d - threshold)*(SVD$d - threshold > 0)
B.[group == g, ] = SVD$u %*% (D * t(SVD$v))
}
B.
}
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.