rstan_rhat | R Documentation |
rstan::Rhat()
Internal implementation of rstan::Rhat()
to avoid unnecessary dependency.
rstan_rhat(params)
rstan_rhat_(params)
rstan_split_chains(params)
rstan_z_scale(x)
rstan_is_constant(x, tol = .Machine$double.eps)
params |
A 2D matrix or array with one row per iteration and one column per chain. The cells are realized draws for a particular parameter or function of parameters. |
x |
Vector, matrix, or array to scale |
rstan_rhat()
returns a scalar double
that is the max of the bulk
and tail (folded) R-hat statistic for params
. rstan_rhat_()
returns a
scalar double
R-hat. rstan_split_chains()
returns an array with each
column split into two columns (top and bottom half). rstan_z_scale()
returns the scaled vector/matrix/array.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.