get_model_code: Get the model code of a Stan model fit

View source: R/stan_utilities.R

get_model_codeR Documentation

Get the model code of a Stan model fit

Description

Get the model code of a Stan model fit

Usage

get_model_code(x)

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

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

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

Arguments

x

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


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