#' Coefficient of variation
#'
#' @export
#' @param x numeric vector.
#' @return \code{sd(x) / mean(x)}
#'
cv <- function(x) {
stopifnot(is.numeric(x))
sd(x) / mean(x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.