R/index.sum.R

Defines functions index.sum

Documented in index.sum

#' @title Sum
#' @description Function to compute the sum index.
#' @author Ole Roessler, J. Bedia, D. San-Martín, 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/VALUE documentation built on July 8, 2023, 7:03 a.m.