R/measure.ratio.R

Defines functions measure.ratio

Documented in measure.ratio

#' @title Ratio
#' @description Function to compute the ratio between the predicted and observed means. 
#' The measure depends on the index mean.
#' @author J. Bedia, D. San-Mart\'in, S. Herrera
#' @template templateMeasureParams
#' @param dates dates
#' @return A float number corresponding to the ratio.
#' @export

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