wk_summary_wgen: dataframe of weekly temp parameters for adjusting rSOILWAT...

Description Usage Arguments Value Examples

View source: R/WGEN_temp.R

Description

dataframe of weekly temp parameters for adjusting rSOILWAT Wgen coeffs

Usage

1
wk_summary_wgen(data, mean_mult = 1)

Arguments

data

dataframe of original weather dat with "Year", "DOY", "Tmax_C", "Tmin_C", "PPT_cm" columns (columns as needed by rSOILWAT2::dbW_estimate_WGen_coefs)

mean_mult

what mean event size will be multiplied by

Value

a dataframe with mean temperature, and number of wet days in each week of year

Examples

1
2
3
4
5
data <-data.frame(rSOILWAT2::dbW_weatherData_to_dataframe(rSOILWAT2::weatherData))
head(wk_summary_wgen(data))
head(rSOILWAT2::dbW_estimate_WGen_coefs(data)[[1]])
# compare
wk_summary_wgen(data, mean_mult = 2)

MartinHoldrege/precipr documentation built on Nov. 4, 2021, 11:10 a.m.