melt_sims_simple {thamesmix} | R Documentation |
Melt array to matrix
Description
This function melts the simulations, presented as a n_simul x G x u array, into a matrix.
Usage
melt_sims_simple(sims, G)
Arguments
sims |
n_simul x G x (u+1) array of parameters sampled from the posterior, where n_simul is the number of simulations from the posterior, G is the number of components, u is the number of mixture component parameters (parameter u+1 is the mixture weight) |
G |
number of components |
Value
a matrix of dimension n_simul x (G(u+1)-1)
[Package thamesmix version 0.1.3 Index]