.checkBayesInput | R Documentation |
.BayesFitTFP
and .BayesFitNAWRU
for
consistency.Checks the input parameters of .BayesFitTFP
and .BayesFitNAWRU
for
consistency.
.checkBayesInput(
model,
type,
prior = NULL,
R = NULL,
burnin = NULL,
thin = NULL,
HPDIprob = NULL,
FUN = NULL,
MLEfit = NULL
)
model |
An object of class TFPmodel. |
type |
A character specifying whether a "nawru" or "tfp" model should be checked. |
prior |
A list of matrices with parameters for the prior distribution and box
constraints. By default, |
R |
An integer specifying the number of MCMC draws. The default is |
burnin |
An integer specifying the burn-in phase of the MCMC chain. The default is
|
thin |
An integer specifying the thinning interval between consecutive draws. The
default is |
HPDIprob |
A numeric in the interval |
FUN |
A function to be used to compute estimates from the posterior distribution.
Possible options are |
MLEfit |
(Optional) An object of class |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.