x to an
(multiple options) An object that can be converted to an
(integer vector) One or more integers giving the maximal indices
in each dimension to override the dimensions of the
(list) Character vectors giving the names in each dimension
to override the names of the dimensions of the
(positive integer) The number of chains. The default is
For objects that are already
rvars, returns them (with modified dimensions
dim is not
For numeric or logical vectors or arrays, returns an
rvar with a single draw and
the same dimensions as
x. This is in contrast to the
rvar() constructor, which
treats the first dimension of
x as the draws dimension. As a result,
is useful for creating constants.
An object of class
"rvar" representing a random variable.
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.