calculate_yoy_growth: Calculate year-over-year growth rates

View source: R/st_yoy_metrics.R

calculate_yoy_growthR Documentation

Calculate year-over-year growth rates

Description

Helper function to calculate YoY growth rates from the output of st_yoy_metrics

Usage

calculate_yoy_growth(yoy_data, baseline_year = NULL)

Arguments

yoy_data

Output from st_yoy_metrics

baseline_year

The year to use as baseline (default: earliest year)

Value

A tibble with growth rates relative to baseline year


sensortowerR documentation built on March 18, 2026, 5:07 p.m.