#' Object Size in Mb
#'
#' Calculate object size in megabytes
#' @param x Any object.
#' @export
#' @return object size
Mb <- function(x){
format(object.size(x), units = 'Mb')
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.