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 applying fun

Value

an aggregated data.frame


mikejohnson51/nwmTools documentation built on Dec. 4, 2024, 12:25 p.m.