Learn R Programming

mcmcr (version 0.0.2)

as.term: Coerce to a term vector

Description

Coerces MCMC objects to a term vector.

Usage

as.term(x, ...)

# S3 method for term as.character(x, ...)

# S3 method for character as.term(x, ...)

# S3 method for mcmc as.term(x, ...)

# S3 method for mcmc.list as.term(x, ...)

# S3 method for mcmcarray as.term(x, ...)

# S3 method for mcmcr as.term(x, ...)

Arguments

x

The object to coerce

...

Unused.

Methods (by class)

  • term: Coerces term vector to a character vector

  • character: Coerces character vector to a term vector

  • mcmc: Coerces mcmc object to a term vector

  • mcmc.list: Coerces mcmc.list object to a term vector

  • mcmcarray: Coerces mcmcarray object to a term vector

  • mcmcr: Coerces mcmcr object to a term vector

Examples

Run this code
# NOT RUN {
as.term(mcmcr_example)
# }

Run the code above in your browser using DataLab