#' Calculate standard deviation
#'
#' @param x Vector of indicator values.
calc.S <-
function(x)
{
sqrt( (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.