rstan_options(...)
opt = val
set
option opt
to value val
. Arguments of the
form opt
set the function to return option opt
's value.
Each argument must be a character string.list
for existing options and NA
for non-existent options.
When only one option is specified, its old value is returned.plot_rhat_breaks
: The cut off points for Rhat for which we
would indicate using a different color. This is a numeric vector,
defaulting toc(1.1, 1.2, 1.5, 2)
.
The value for this option will be sorted in ascending order,
so for exampleplot_rhat_breaks = c(1.2, 1.5)
is equivalent toplot_rhat_breaks = c(1.5, 1.2)
.plot_rhat_cols
: A vector of the same length asplot_rhat_breaks
that indicates the colors for the
breaks.plot_rhat_nan_col
: The color for Rhat when it isInf
orNaN
.plot_rhat_large_col
: The color for Rhat when it is larger than
the largest value ofplot_rhat_breaks
.rstan_alert_col
: The color used in methodplot
of S4 classstanfit
to show that the vector/array
parameters are truncated.rstan_chain_cols
: The colors used in methodsplot
andtraceplot
of S4 classstanfit
for coloring different chains.rstan_warmup_bg_col
: The background color for
the warmup area in the traceplots.boost_lib
: The path for the Boost C++ library used
to compile Stan models. This option is valid
for the wholeRsession if not changed again.eigen_lib
: The path for the Eigen C++ library used
to compile Stan models. This option is valid
for the wholeRsession if not changed again.auto_write
: A logical scalar (defaulting toFALSE
) that
controls whether a compiled instance of astanmodel-class
is written to the hard disk in the same directory as the.stan
program.