thetaAligned.Rd
Align topic proportions in specimens across chain.
thetaAligned(theta, K, aligned, iterUse = 1000, chain = 4)
theta | array. three dimensional array (iterations * topic * specimens). |
---|---|
K | integer. number of topics. |
aligned | aligned matrix. A matrix of topic assignment for each chain. output of alignmentMatrix. |
iterUse | integer. number of iterations used in each chain after subtracting warm-up samples. |
chain | integer. number of chains used in MCMC. |
array. three dimensional array.