nwmHistoric_agg: Aggregate NWM data usning column and function input

View source: R/utils-aggregate.R

nwmHistoric_aggR Documentation

Aggregate NWM data usning column and function input

Description

Aggregate NWM data usning column and function input

Usage

nwmHistoric_agg(rawData, cols, fun, na.rm = TRUE)

Arguments

rawData

raw data returned from readNWMdata

cols

a vector of colum names to group by

fun

a function of list of functions to apply to group data

na.rm

logical. Should NA values be removed before appling fun

season

logical. Should season be added

waterYear

logical. Should water year be added?

Value

an aggregated data.frame


mikejohnson51/nwmHistoric documentation built on July 25, 2022, 5:11 p.m.