Learn R Programming

dynamite (version 1.5.6)

get_nchains: Get the number of chains of a Stan model fit

Description

Get the number of chains of a Stan model fit

Usage

get_nchains(x)

# S3 method for stanfit get_nchains(x)

# S3 method for CmdStanMCMC get_nchains(x)

# S3 method for CmdStanMCMC_CSV get_nchains(x)

Arguments

x

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