Nothing
dimSums <- function(x,...) UseMethod("dimSums")
dimSums.array <- function(x,dims=1){
sdx <- seq_along(dim(x))
ksdx <- sdx[-dims]
dsdx <- sdx[dims]
rowSums(aperm(x,c(ksdx,dsdx)),
dims=length(ksdx))
}
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.