#' Calculate variance
#'
#' @param x Vector of indicator values.
calc.VAR <-
function(x)
{
(1/length(x)) * (sum((x - mean(x))^2))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.