randomPermutation {bayesmix} | R Documentation |
Randomly permute segments for MCMC draws
Description
Random permutation of segment labels for each draw in order to get a better estimate of the unrestricted likelihood.
Usage
randomPermutation(x)
Arguments
x |
a |
Details
The draws are permuted with respect to the different classes
k
.
Value
The input object with permuted results for each draw is returned.
Warning
Any variables where there are neither k
different chains nor only one chain observed are dropped.
Author(s)
Bettina Gruen
[Package bayesmix version 0.7-6 Index]