R/index.sum.R

Defines functions index.sum

Documented in index.sum

#' @title Sum
#' @description Function to compute the sum index.
#' @author Ole Roessler \email{ole.roessler@@giub.unibe.ch}, J. Bedia, D. San-Mart\'in, S. Herrera
#' @param ts A vector containing the data
#' @return A float number corresponding to the sum of the input.
#' @export


index.sum <- function(ts) {
      sum(ts, na.rm = TRUE)
}
SantanderMetGroup/R_VALUE documentation built on July 4, 2023, 4:27 a.m.