Thin a draws object
.thin_draws(draws, loo_approximation_draws)# S3 method for matrix
.thin_draws(draws, loo_approximation_draws)
# S3 method for numeric
.thin_draws(draws, loo_approximation_draws)
# S3 method for default
.thin_draws(draws, loo_approximation_draws)
A thinned draws object.
A draws object with posterior draws.
The number of posterior draws to return (ie after thinning).
This is a generic function to thin draws from arbitrary draws
objects. The function is internal and should only be used by developers to
enable loo_subsample()
for arbitrary draws objects.