Description Usage Arguments Value
Calling subseq()
constructs an MCMC sub-chain from the samples in the
passed-in mcmcoutput
object specfied by the index array
in index
. This
can be advantageous, if chains are non-stationary. For successful MCMC
sampling the chain must be converged to the target distribution, the true
distribution of parameters, weights and indicators.
Note, this method calls the equivalent method of the parent class and then
adds to it the sub-chains for the parameters of the posterior density by
calling a function from the mcmcoutputfixpost
class.
1 2 | ## S4 method for signature 'mcmcoutputhierpost,array'
subseq(object, index)
|
object |
An |
index |
An array specifying the extraction of the sub-chain. |
An mcmcoutputhierpost
object containing the values from the
sub-chain.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.