extract_draws {rbmi}R Documentation

Extract draws from a stanfit object

Description

Extract draws from a stanfit object and convert them into lists.

The function rstan::extract() returns the draws for a given parameter as an array. This function calls rstan::extract() to extract the draws from a stanfit object and then convert the arrays into lists.

Usage

extract_draws(stan_fit)

Arguments

stan_fit

A stanfit object.

Value

A named list of length 2 containing:


[Package rbmi version 1.2.6 Index]