Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.


rstantools

Tools for Developing R Packages Interfacing with 'Stan'

v2.1.1
GPL (>= 3)
Authors
Jonah Gabry [aut, cre], Ben Goodrich [aut], Martin Lysy [aut], Stefan Siegert [ctb], Trustees of Columbia University [cph]
Initial release
2020-07-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.