evmSimSetSeed function

Set the seed from a fitted evmSim object.

Set the seed from a fitted evmSim object.

Set the seed from a fitted evmSim object to ensure reproducibility of output.

evmSimSetSeed(x)

Arguments

  • x: An object of class evmSim, as returned by evm using method = "simulate".

Details

Sets the seed to the value used to fit the model.

Examples

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

See Also

evm

Author(s)

Harry Southworth