calculate_standardized | R Documentation |
Helper function to calculate standardized indices based on a reference period.
calculate_standardized(df, freq, base_range)
df |
Data frame. Input data with Date and Value columns. |
freq |
Character. Frequency of calculation, either "monthly" or "seasonal". |
base_range |
Numeric vector. Base range years. |
Data frame with standardized values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.