Nothing
pcaSupplementaryColsPreProcessing <- function(SUP.DATA=NULL,center=TRUE,scale=TRUE,M=NULL){
if(is.null(SUP.DATA)){
stop('Must provide supplemental data')
}
if(is.null(M)){
M <- rep(1,nrow(SUP.DATA)) #you need to choose or else I make nothing happen...
}else if(length(M)!=nrow(SUP.DATA)){
stop('Length of M does not match row dim of SUP.DATA')
}
return( t( expo.scale(SUP.DATA,center=center,scale=scale) * matrix(M,length(M),ncol(SUP.DATA)) ) )
}
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.