Learn R Programming

hsstan (version 0.8.2)

nsamples.hsstan: Number of posterior samples

Description

Extracts the number of posterior samples stored in a fitted model.

Usage

# S3 method for hsstan
nsamples(object, ...)

Value

The total number of posterior samples across the chains after discarding the warmup iterations.

Arguments

object

An object of class hsstan.

...

Currently ignored.

Examples

Run this code
utils::example("hsstan", echo=FALSE)
# continued from ?hsstan
nsamples(hs.biom)

Run the code above in your browser using DataLab