nsamples.hsstan {hsstan} | R Documentation |
Number of posterior samples
Description
Extracts the number of posterior samples stored in a fitted model.
Usage
## S3 method for class 'hsstan'
nsamples(object, ...)
Arguments
object |
An object of class |
... |
Currently ignored. |
Value
The total number of posterior samples across the chains after discarding the warmup iterations.
Examples
# continued from ?hsstan
nsamples(hs.biom)
[Package hsstan version 0.8.2 Index]