Nothing
apply.pca <-
function (matrix.signal)
{
if (dim(matrix.signal)[2] <= 2) {
m <- apply(matrix.signal, MARGIN = 1, FUN = mean)
return(m)
}
pca <- prcomp(matrix.signal, scale = TRUE)$x[, 1]
return(pca/sd(pca))
}
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.