Draw samples from a MagmaClust posterior distribution
Arguments
- pred_clust
A list, typically coming from
pred_magmaclust
, with argument get_full_cov = TRUE'. Required elements:pred
,cov
,mixture
.- nb_samples
A number, indicating the number of samples to be drawn from the predictive posterior distribution. For two-dimensional graphs, only one sample can be displayed.