nsamples.brmsfit: Number of Posterior Samples

Description Usage Arguments

View source: R/brmsfit-methods.R

Description

Extract the number of posterior samples stored in a fitted Bayesian model.

Usage

1
2
## S3 method for class 'brmsfit'
nsamples(object, subset = NULL, incl_warmup = FALSE, ...)

Arguments

object

An object of class brmsfit.

subset

An optional integer vector defining a subset of samples to be considered.

incl_warmup

A flag indicating whether to also count warmup / burn-in samples.

...

Currently ignored.


brms documentation built on March 14, 2021, 5:06 p.m.