Learn R Programming

nlist (version 0.5.0)

sort.mcmc.list: Sort mcmc.list Object

Description

Sorts an mcmc.list object by its parameter names.

Usage

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

Value

An mcmc.list object with the parameters sorted by name.

Arguments

x

An mcmc.list object.

...

Unused.

Examples

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

Run the code above in your browser using DataLab