measure.cor | R Documentation |
Function to compute the temporal correlation between the observed and predicted time series.
measure.cor(
indexObs = NULL,
indexPrd = NULL,
obs,
prd,
dates,
method = c("pearson", "kendall", "spearman"),
deseason = NULL,
aggregation = NULL
)
indexObs |
index computed from the observations |
indexPrd |
index computed from the predictions |
obs |
A vector of observations |
prd |
A vector of predictions |
dates |
dates |
method |
Type of correlation applied. Options: |
deseason |
Default to |
aggregation |
temporal aggregation options |
A float number corresponding to the correlation coefficient of choice between the predicted and observed series.
J. Bedia, D. San-MartÃn, S. Herrera
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.