Description Usage Arguments Details Examples
One bootstrap run used in calculating confidence interval bands.
1 2 | bootAnnual(eList, blockLength = 200, startSeed = 494817, verbose = FALSE,
jitterOn = FALSE, V = 0.2)
|
eList |
named list with at least the Daily, Sample, and INFO dataframes. Created from the EGRET package, after running |
blockLength |
integer default value is 200. |
startSeed |
setSeed value. Defaults to 494817. This is used to make repeatable output. |
verbose |
logical specifying whether or not to display progress message. |
jitterOn |
logical, if TRUE, adds "jitter" to the data in an attempt to avoid some numerical problems. Default = FALSE. See Details below. |
V |
numeric a multiplier for addition of jitter to the data, default = 0.2. |
In some situations numerical problems are encountered in the bootstrap process, resulting in highly unreasonable spikes in the confidence intervals. The use of "jitter" can often prevent these problems, but should only be used when it is clearly needed. It adds a small amount of random "jitter" to the explanatory variables of the WRTDS model. The V parameter sets the scale of variation in the log discharge values. The standard deviation of the added jitter is V * standard deviation of Log Q. The default for V is 0.2. Larger values should generally be avoided, and smaller values may be sufficient.
1 2 3 4 5 6 | library(EGRET)
eList <- Choptank_eList
## Not run:
annualResults <- bootAnnual(eList)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.