#' @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
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.