get_draws: Get the draws of a Stan model fit

View source: R/stan_utilities.R

get_drawsR Documentation

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 class 'stanfit'
get_draws(x, pars)

## S3 method for class 'CmdStanMCMC'
get_draws(x, pars)

## S3 method for class '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.


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