Learn R Programming

rv (version 2.3.2)

as.rv.stanfit:

Description

Convert simulations generated by Stan to a list of rv objects.

Usage

# S3 method for stanfit
as.rv(x, list.=TRUE, ...)

Arguments

x
A 'stanfit' object
list.
logical; return a list of rv objects instead of a single rv object (vector)?
(ignored)

Value

A list of rv objects, with the names set for each rv object.

References

Stan: http://mc-stan.org/