getBurnin-mcmcestfix-method: Getter method of 'mcmcestfix' class.

Description Usage Arguments Value See Also Examples

Description

Returns the burnin slot.

Usage

1
2
## S4 method for signature 'mcmcestfix'
getBurnin(object)

Arguments

object

An mcmcestfix object.

Value

The burnin slot of the object.

See Also

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Define a Poisson mixture model with two components.
f_model <- model("poisson", par = list(lambda = c(0.3, 1.2)), K = 2, 
                 indicfix = TRUE)
# Simulate data from the mixture model.
f_data <- simulate(f_model)
# Define the hyper-parameters for MCMC sampling.
f_mcmc <- mcmc(storepost = FALSE)
# Define the prior distribution by relying on the data.
f_prior <- priordefine(f_data, f_model)
# Start MCMC sampling.
f_output <- mixturemcmc(f_data, f_model, f_prior, f_mcmc)
f_est <- mcmcestimate(f_output)
# Get the slot.
getBurnin(f_est)

simonsays1980/finmix documentation built on Dec. 23, 2021, 2:25 a.m.