initsvd <- function(X) { n = NROW(X) p = NCOL(X) ifelse(n>=p, return(svd(X,nu=0,nv=1)$v) , return(svd(X,nu=1,nv=0)$u) ) }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.