excursion_stats: Calculate excursion statistics for status periods

View source: R/excursion_stats.R

excursion_statsR Documentation

Calculate excursion statistics for status periods

Description

Creates a dataframe with excursion statistics by station, parmameter, and status period. Excursion statistics include number of excursions, percent excursion, and the max, median, and minimum for results that contributed to an excursion.

Usage

excursion_stats(df)

Arguments

df

Dataframe returned from an assessment fucntion in odeqassessment package. df must include a grouping column called 'status_period' which can be created by running odeqstatusandtrends::status_period().

Value

Dataframe of station excursion information

Examples

excursion_stats(df=data_assessed)

donco/odeqstatusandtrends documentation built on April 20, 2024, 12:46 a.m.