R/niters.R

Defines functions niters

Documented in niters

#' Number of Iterations
#'
#' Gets the number of iterations (in a chain)
#' of an MCMC object.
#'
#' @inheritParams params
#' @return An integer scalar of the number of iterations.
#' @family MCMC dimensions
#' @export
niters <- function(x, ...) {
  UseMethod("niters")
}

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.