R/measure.nDays.R

Defines functions measure.nDays

Documented in measure.nDays

#' @title N days
#' @description Function to count the sample size (number of days) used in the calculation of the indices
#' @template templateMeasureParams
#' @param dates dates
#' @return An integer corresponding to the counts
#' @author J. Bedia, D. San-Martin
#' @export

measure.nDays <- function(indexObs = NULL, indexPrd = NULL, obs, prd, dates) {
      length(obs)
}
SantanderMetGroup/R_VALUE documentation built on July 4, 2023, 4:27 a.m.