get_ndraws: Get the number of draws of a Stan model fit

View source: R/stan_utilities.R

get_ndrawsR Documentation

Get the number of draws of a Stan model fit

Description

Get the number of draws of a Stan model fit

Usage

get_ndraws(x)

## S3 method for class 'stanfit'
get_ndraws(x)

## S3 method for class 'CmdStanMCMC'
get_ndraws(x)

## S3 method for class 'CmdStanMCMC_CSV'
get_ndraws(x)

Arguments

x

A stanfit (from rstan) or a CmdStanMCMC (from cmdstanr) object.


dynamite documentation built on April 12, 2025, 1:18 a.m.