Learn R Programming

dynamite (version 1.5.6)

get_draws: Get the draws of a Stan model fit

Description

Get the draws of a Stan model fit

Usage

get_draws(x, pars)

# S3 method for stanfit get_draws(x, pars)

# S3 method for CmdStanMCMC get_draws(x, pars)

# S3 method for CMdStanMCMC_CSV get_draws(x, pars)

Arguments

x

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

pars

A character vector of parameter names.