View source: R/evm.simSetSeed.R
evmSimSetSeed | R Documentation |
Set the seed from a fitted evmSim
object to ensure reproducibility of
output.
evmSimSetSeed(x)
x |
An object of class |
Sets the seed to the value used to fit the model.
Harry Southworth
evm
data <- rnorm(1000)
mod <- evm(data, qu=.7, method="simulate")
evmSimSetSeed(mod)
mod1 <- evm(data, qu=.7, method="simulate") # this produces the same MCMC output as mod
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.