.thin_draws | R Documentation |
Thin a draws object
.thin_draws(draws, loo_approximation_draws)
## S3 method for class 'matrix'
.thin_draws(draws, loo_approximation_draws)
## S3 method for class 'numeric'
.thin_draws(draws, loo_approximation_draws)
## Default S3 method:
.thin_draws(draws, loo_approximation_draws)
draws |
A draws object with posterior draws. |
loo_approximation_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.
A thinned draws object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.