#' @title Standard deviation
#' @description Function to compute the (quasi) standard deviation index.
#' @author Ole Roessler, J. Bedia, D. San-MartÃn, S. Herrera
#' @param ts A vector containing the data
#' @importFrom stats sd
#' @keywords internal
#' @return A float number corresponding to the standard deviation of the input sample.
#' @export
index.sd <- function(ts) {
sd(ts, na.rm = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.