Learn R Programming

nlist (version 0.5.0)

sort.mcmc: Sort mcmc Object

Description

Sorts an mcmc object by its parameter names.

Usage

# S3 method for mcmc
sort(x, ...)

Value

An mcmc object with the parameters sorted by name.

Arguments

x

An mcmc object.

...

Unused.

Examples

Run this code
sort(as_mcmc(nlist(y = 1, a = 2:3)))

Run the code above in your browser using DataLab