View source: R/get-info-from-NIW-IA-stanfit.R
get_random_draw_indices | R Documentation |
Returns 'ndraws' indices for random post-warmup MCMC draws (without replacement) from 'fit'.
get_random_draw_indices(fit, ndraws)
fit |
mv_ibbu_stanfit object. |
ndraws |
Number of indices to be returned. Can't be larger than total number of post-warmup samples across all MCMC chains in 'fit'. |
A numeric vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.