The goal of shredder is to create an API that incites exploration and iteration of rstan simulation objects.
stanfit
object, such
as rstan
and brms
.shredder::stan_select
and shredder::stan_filter
for the
parameter names stored in the fit object.remotes::install_github('yonicd/shredder')
shredder::stan_retain
: extract specific chainsshredder::stan_select
: extract specific parsshredder::stan_contains
,
shredder::stan_starts_with
,shredder::stan_ends_with
: partial
par extractions (used within shredder::stan_select
)shredder::stan_names
: return names within the stanfit objectshredder::stan_slice
: extract specific samples by indexshredder::stan_thin_n
: Thin (remove) every n samples from the
total samplesshredder::stan_thin_frac
: Thin (remove) a fraction of total
samples.shredder::stan_filter
: extract subset of samples conditional
on filter of parameter valuesshredder::stan_axe
: remove cached elements for stanfit
objects to reduce memory usagePlease note that the ‘shredder’ project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.