calculate_motorboat: Calculate frequency of legal motorboat conditions

Description Usage Arguments Value

View source: R/calculate_motorboat.R

Description

Given a data frame with columns for "lake" and "level" as well as additional information about the elevation at which lakes are suitable for motorboating (lake area > 62.5 acres), evaluate the frequency of legal motorboating conditions at all lakes with motorboat information.

Usage

1
2
3
4
calculate_motorboat(
  df,
  boat_info = data.frame(lake = "Pleasant", elev_m = 292.6422)
)

Arguments

df

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

boat_info

a data frame with the "elev_m" at which each "lake" switches from legal to not legal for motorboating.

Value

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


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