varnames: Named dimensions of MCMC objects

Description Usage Arguments Value See Also

Description

varnames() returns the variable names and chanames returns the chain names, or NULL if these are not set.

If allow.null = FALSE then NULL values will be replaced with canonical names.

Usage

1
2
3
4
varnames(x, allow.null=TRUE)
chanames(x, allow.null=TRUE)
varnames(x) <- value
chanames(x) <- value

Arguments

x

an mcmc or mcmc.list object

allow.null

Logical argument that determines whether the function may return NULL

value

A character vector, or NULL

Value

A character vector , or NULL.

See Also

mcmc, mcmc.list.


coda documentation built on July 5, 2019, 5:03 p.m.