calculate_stratification: Calculate frequency of mixed (unstratified) conditions

Description Usage Arguments Value

View source: R/calculate_stratification.R

Description

Given a data frame with columns for "lake" and "level" as well as additional information about the elevation at which lakes stratify, evaluate the frequency of mixed conditions at all lakes with stratification information.

Usage

1
2
3
4
calculate_stratification(
  df,
  strat_info = data.frame(lake = "Pleasant", elev_m = 297.67)
)

Arguments

df

a data frame with a "lake" and a "level" column

strat_info

a data frame with the "elev_m" at which each "lake" switches from stratified to mixed.

Value

a data frame with the number of months and percent of time with mixed conditions at each lake included in "strat_info".


WDNR-Water-Use/CSLSscenarios documentation built on Nov. 10, 2021, 4:14 p.m.