calculate_spawning: Calculate good spawning years

Description Usage Arguments Value

View source: R/calculate_spawning.R

Description

Given a data frame with a "lake", "level", "year", and "month" columns, calculates whether a year is good (TRUE) or bad (FALSE) for pike spawning.

Usage

1
calculate_spawning(df, growing_months = c(5, 6, 7, 8, 9, 10))

Arguments

df

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

growing_months

months associated with growing season. Defaults to c(5, 6, 7, 8, 9, 10).

Value

good_spawning, a data frame with the lakes, years, and whether spring levels were sufficiently high, summer levels were sufficiently steady, and overall the year was good for pike spawning.


WDNR-Water-Use/CSLSlevels documentation built on Nov. 21, 2020, 9:13 a.m.