R/npdims.R

Defines functions npdims.mcmcr npdims.mcmcarray

Documented in npdims.mcmcarray npdims.mcmcr

#' @export
universals::npdims

#' @inherit universals::npdims
#' @export
npdims.mcmcarray <- function(x, ...) length(pdims(x))

#' @inherit universals::npdims
#' @export
npdims.mcmcr <- function(x, ...) vapply(x, npdims, 1L)

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.