Description Usage Arguments Value Examples
Calculate reconstruction metrics from the instrumental period
| 1 | calculate_metrics(sim, obs, z, norm.fun = mean)
 | 
| sim | A vector of reconstruction output for instrumental period | 
| obs | A vector of all observations | 
| z | A vector of left out indices in cross validation | 
| norm.fun | The function (unquoted name) used to calculate the normalizing constant. Default is  | 
A named vector of performance metrics
| 1 2 | calculate_metrics(rnorm(100), rnorm(100), z = 1:10)
calculate_metrics(rnorm(100), rnorm(100), z = 1:10, norm.fun = sd)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.