Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dot-thin_draws

Thin a draws object


Description

Thin a draws object

Usage

.thin_draws(draws, loo_approximation_draws)

Arguments

draws

A draws object with posterior draws.

loo_approximation_draws

The number of posterior draws to return (ie after thinning).

Details

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.

Value

A thinned draws object.


loo

Efficient Leave-One-Out Cross-Validation and WAIC for Bayesian Models

v2.4.1
GPL (>= 3)
Authors
Aki Vehtari [aut], Jonah Gabry [cre, aut], Mans Magnusson [aut], Yuling Yao [aut], Paul-Christian Bürkner [aut], Topi Paananen [aut], Andrew Gelman [aut], Ben Goodrich [ctb], Juho Piironen [ctb], Bruno Nicenboim [ctb]
Initial release
2020-12-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.