Uses the effective sample size of selection
to determine how much to optimally thin an emc object
# S3 method for emc
auto_thin(emc, stage = "sample", selection = c("alpha", "mu"), ...)auto_thin(emc, stage = "sample", selection = c("alpha", "mu"), ...)
an emc object.
A character string. Indicates from which sampling stage(s) to take the samples from (i.e. preburn
, burn
, adapt
, sample
)
Which parameter types (i.e. 'alpha' or 'mu' to consider when determining the effective sample size)
additional optional arguments