varnames

0th

Percentile

Named dimensions of MCMC objects

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.

Keywords
manip
Usage
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.

Aliases
  • varnames
  • varnames<-
  • chanames
  • chanames<-
Documentation reproduced from package coda, version 0.17-1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.