Computes annual change rates (absolute and relative) for indicators across temporal periods.
Usage
calculate_change_rate(
temporal,
indicators = "all",
period_start = NULL,
period_end = NULL,
type = c("both", "absolute", "relative")
)Arguments
- temporal
A nemeton_temporal object created by
nemeton_temporal.- indicators
Character vector of indicator names to analyze. Default "all" uses all indicators present in the temporal dataset.
- period_start
Character. Label of starting period. Default uses first period.
- period_end
Character. Label of ending period. Default uses last period.
- type
Character. Type of change rate: "absolute", "relative", or "both". Default "both".