#' @export
aapply <- function(X, FUN, ...){
x <- sapply(X, FUN, ...)
if(class(x) != "matrix"){
x <- t(x)
}
return(x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.