consecutive_median: Create seasonal median for targets requiring consecutive...

View source: R/consecutive_median.R

consecutive_medianR Documentation

Create seasonal median for targets requiring consecutive years

Description

Takes a dataframe from which_target_df(), calculates the consecutive year seasonal median results, and returns the dataframe with only seasonal median results

Usage

consecutive_median(df, n_years = 2)

Arguments

df

A dataframe with values provided by which_target_df()

n_years

The number of consecutive years over which to calculate the seasonal median.

Value

The dataframe consisting of calculated seasonal medians

Examples

consecutive_year_seasonal_median(df, n_years = 2)

donco/odeqtmdl documentation built on Feb. 7, 2025, 9:54 p.m.