R/nsamples.R

Defines functions nsamples

Documented in nsamples

#' Generic function for extracting the number of posterior samples
#'
#' @export
#' @keywords internal
#' @template args-object
#' @template args-dots
#'
nsamples <- function(object, ...) {
  UseMethod("nsamples")
}

Try the rstantools package in your browser

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

rstantools documentation built on July 26, 2023, 5:35 p.m.