evmSimSetSeed {texmex}R Documentation

Set the seed from a fitted evmSim object.

Description

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

Usage

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.

Author(s)

Harry Southworth

See Also

evm

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



[Package texmex version 2.4.9 Index]