all_sims: Simulate a response variable time series using all functions

Description Usage Arguments Details Value See Also Examples

View source: R/all_sims.R

Description

Simulate a response variable time series using all simulation functions

Usage

1
all_sims(dat_in, ...)

Arguments

dat_in

input data.frame that must include discharge and decimal time columns, see example dataset daydat

...

additional arguments passed to lnres_sim

Details

This is a convenience function that combines lnQ_sim, lnres_err, and lnres_sim. See the help documentation function for more details on each.

Value

Original data frame with additional columns for simulated discharge (lnQ_sim), the random errors of the response variable (errs), the standard error estimates for each residual (scls), a flow-independent response variable time series (lnres_noQ), and a flow-dependent time series (lnres_Q).

See Also

daydat for example data, lnQ_sim for simulating discharge, lnres_err for estimating the error structure of the response variable, and lnres_sim for simulating the response variable

Examples

1
2
3
4
5
6
7
8
## Not run: 
## example data
data(daydat)

## simulate
tmp <- all_sims(daydat)

## End(Not run)

fawda123/WRTDStidal documentation built on June 11, 2021, 7:45 a.m.