get_params {postpack} | R Documentation |
Obtain the names of all nodes
Description
Returns the names of all quantities stored in
a mcmc.list
object.
Usage
get_params(post, type = "base_only")
Arguments
post |
A |
type |
Format of returned matches; only two options are accepted:
|
Value
A character vector with all node names stored in the post
object, formatted as requested by type
.
Examples
# load example mcmc.list
data(cjs)
# get only node names, no indices (default)
get_params(cjs, type = "base_only")
# get indices too, where applicable
get_params(cjs, type = "base_index")
[Package postpack version 0.5.4 Index]