#' getpm
#' @param x
#' @export
#'
getpm=function(x){
sapply(x,function(xx) sum(xx[,1])) - sapply(x,function(xx) sum(xx[,2]))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.