Simulate a response variable time series using all simulation functions
all_sims(dat_in, ...)
input data.frame
that must include discharge and decimal time columns, see example dataset daydat
additional arguments passed to lnres_sim
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
).
This is a convenience function that combines lnQ_sim
, lnres_err
, and lnres_sim
. See the help documentation function for more details on each.
if (FALSE) {
## example data
data(daydat)
## simulate
tmp <- all_sims(daydat)
}