Learn R Programming

hsstan (version 0.8.2)

sampler.stats: Sampler statistics

Description

Report statistics on the parameters used in the sampler, the sampler behaviour and the sampling time.

Usage

sampler.stats(object)

Value

A matrix with C + 1 rows, where C is the number of Markov chains, reporting average acceptance probability, average stepsize, number of divergent transitions, maximum tree depth, total number of gradient evaluations, warmup and sampling times in seconds.

Arguments

object

An object of class hsstan.

Examples

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

Run the code above in your browser using DataLab