rstantools (version 2.1.1)

nsamples: Generic function for extracting the number of posterior samples

Description

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

Usage

nsamples(object, ...)

Arguments

object

The object to use.

...

Arguments passed to methods. See the methods in the rstanarm package for examples.