File: nsamples.R

package info (click to toggle)
r-cran-rstantools 1.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 364 kB
  • sloc: sh: 13; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 275 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#' Generic function for extracting the number of posterior samples
#'
#' Extract the number of posterior samples stored in a fitted Bayesian model.
#'
#' @export
#' @template args-object
#' @template args-dots
#'
nsamples <- function(object, ...) {
  UseMethod("nsamples")
}