#' Mean center variable
#' @param x A numeric vector
#' @return A mean centered vector
#' @export
ctr <- function(x, ...) {
x - mean(x, na.rm = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.