hyet_aggregate: Aggregate a hyetograph using a time step

Description Usage Arguments Value Examples

Description

hyet_aggregate uses a predefined time step value to aggregate precipitation records in a hyetograph

Usage

1
hyet_aggregate(hyet, time_step, units = "mins")

Arguments

hyet

a hyetograph from hyet_create function

time_step

an integer specifying the time step value.

units

a character string specifying a time unit. Valid units are "mins" and "hours"

Value

a tibble with the aggregated hyetograph

Examples

1
prec30min <- prec5min %>% hyet_aggregate(30)

kvantas/erosivity documentation built on May 26, 2019, 5:42 p.m.