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

nsamples(object, ...)

Arguments

object

The object to use.

...

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