bgpdSetSeed: Set the seed from a fitted bgpd object.

Description Usage Arguments Details Author(s) See Also Examples

View source: R/bgpdSetSeed.R

Description

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

Usage

1

Arguments

x

An object of class bgpd, as returned by gpd using method = "simulate".

Details

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

Author(s)

Harry Southworth

See Also

gpd

Examples

1
2
3
4
# data <- rnorm(1000)
# mod <- gpd(data, qu=.7, method="simulate")
# bgpdSetSeed(mod)
# mod1 <- gpd(data, qu=.7, method="simulate") # this produces the same MCMC output as mod

texmex documentation built on May 2, 2019, 4:56 p.m.