Convert simulations generated by Stan to a list of rv objects

Share:

Description

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

Usage

1
2
  ## S3 method for class '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.

Author(s)

J Kerman

References

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.