View source: R/to_stan_array.R
to_stan_array | R Documentation |
Collpases the long-form array created by extract_n_combine
into
the array form that is created when calling stan::extract
on a
stanfit
object with the options permute = FALSE
and
inc_warmup = FALSE
.
to_stan_array(x)
x |
an array created by calling |
the function returns a reshaped array which is callable by
rstan::monitor
or array_traceplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.