R/nchains.R

Defines functions nchains

Documented in nchains

#' Number of Chains
#'
#' Gets the number of chains
#' of an MCMC object.
#'
#' @inheritParams params
#' @return An integer scalar of the number of chains.
#' @family MCMC dimensions
#' @export
#' @export
nchains <- function(x, ...) {
  UseMethod("nchains")
}

Try the universals package in your browser

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

universals documentation built on Sept. 22, 2022, 5:07 p.m.