R/brmsfit-methods.R
nsamples.brmsfit.Rd
Extract the number of posterior samples (draws) stored in a fitted Bayesian model. Method nsamples is deprecated. Please use ndraws instead.
nsamples
ndraws
# S3 method for class 'brmsfit' nsamples(object, subset = NULL, incl_warmup = FALSE, ...)
An object of class brmsfit.
brmsfit
An optional integer vector defining a subset of samples to be considered.
A flag indicating whether to also count warmup / burn-in samples.
Currently ignored.