bcgov / wqbc

An R package for water quality thresholds and index calculation for British Columbia
http://bcgov.github.io/wqbc/
Apache License 2.0
20 stars 9 forks source link

Add FUN to clean_wqdata #116

Closed sebdalgarno closed 4 years ago

sebdalgarno commented 4 years ago

new FUN argument to clean_wqdata to allow user to summarize with 'mean', 'median' or 'max' of Value. Used to just get mean. Ability to get median and max was requested by Jessica Penno and Heather Thompson

sebdalgarno commented 4 years ago

sorry for the confusion in commits above - the first 'add FUN to calc_limits' is:

  1. misleading because it dealt with clean_wqdata and not calc_limits and
  2. a first attempt.

The commit after the merge ('add FUN to clean_wqdata') is the commit finalizing the added functionality