Extract the number of posterior samples stored in a fitted Bayesian model.
# S3 method for brmsfit
nsamples(x, subset = NULL, incl_warmup = FALSE, ...)nsamples(x, ...)
An R object
An optional integer vector defining a subset of samples to be considered.
A flag indicating whether to also count warmup / burn-in samples.
Further arguments passed to or from other methods.
Currently there are methods for brmsfit
objects.