powered by
Returns the names of all quantities stored in a mcmc.list object.
mcmc.list
get_params(post, type = "base_only")
A character vector with all node names stored in the post object, formatted as requested by type.
post
type
A mcmc.list object.
Format of returned matches; only two options are accepted:
type = "base_only" (the default) to return only the unique node names (without indices).
type = "base_only"
type = "base_index" to return the node names with indices included.
type = "base_index"
# 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")
Run the code above in your browser using DataLab