append_weather: Adds antecedent precipitation columns

View source: R/precip.R

append_weatherR Documentation

Adds antecedent precipitation columns

Description

Appends antecedent precipitation columns for multiple periods to an existing wq data frame

Usage

append_weather(wq, precip, period = 48, precip.threshold = 0.25,
  precip.name = "Precip")

Arguments

wq

water quality data frame

precip

precipitation date frame (hourly timestep)

period

antecedent period in number of hours

precip.threshold

threshold for assigning wet/dry to Weather column

precip.name

name of precipitation column

Value

numeric vector of antecedent precipitation


walkerjeffd/myrwaR documentation built on Nov. 14, 2024, 1:25 p.m.