Learn R Programming

dynamite (version 1.5.6)

get_ndraws: 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 stanfit get_ndraws(x)

# S3 method for CmdStanMCMC get_ndraws(x)

# S3 method for CmdStanMCMC_CSV get_ndraws(x)

Arguments

x

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