R/sort.R

Defines functions sort.mcmcrs sort.mcmcr

#' @export
sort.mcmcr <- function(x, ...) subset(x, pars = sort(pars(x)))

#' @export
sort.mcmcrs <- function(x, ...) set_class(lapply(x[order(names(x))], sort), "mcmcrs")

Try the mcmcr package in your browser

Any scripts or data that you put into this service are public.

mcmcr documentation built on Sept. 7, 2021, 1:07 a.m.