Nothing
#' @export
#' @importFrom zoo "rollmean"
cal_auc <- function(X, Y) {
id <- order(X)
sum(diff(X[id])*rollmean(Y[id],2))
}
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.