View source: R/apply.davg.oncols.r
apply.davg.oncols | R Documentation |
Function to apply a daily average on the columns of a dataframe v0.1 2020-03-02
apply.davg.oncols(
mod.wo,
daystep = 1,
ignoreQzeros = F,
calc.max = F,
calc.min = F
)
mod.wo |
character; A data frame with JDAY (numeric) as the first column in sub-daily timesteps |
daystep |
numeric; timestep (in days) to calculate average over |
ignoreQzeros |
logical; ignores zero flows in daily averaging !!! |
calc.max |
logical; if true, calculate the daily max, not the daily average! |
calc.min |
logical; if true, calculate the daily min, not the daily average! |
davg.out |
a dataframe with daily data instead of sub-daily |
Norman Buccola
apply.davg.oncols()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.