reorder.mcmc.list: Reorder the columns of mcmc objects in an mcmc.list

View source: R/reorder.mcmc.list.R

reorder.mcmc.listR Documentation

Reorder the columns of mcmc objects in an mcmc.list

Description

Reorders the output from rjags{coda.samples} to match the preferred order of the user. The function will stop if one or more of the specified variable names does not match the variable names in the first mcmc object of x.

Usage

## S3 method for class 'mcmc.list'
reorder(x, variable.names, ...)

Arguments

x

an object of type mcmc.list

variable.names

a vector of variable names in user order.

...

other arguments. Currently ignored.

Value

an object of type mcmc.list


jmcurran/jaggR documentation built on Nov. 2, 2023, 11:04 a.m.