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ín, 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/VALUE documentation built on July 8, 2023, 7:03 a.m.