Sets or replaces the distribution of a random variable declared with
rand_var(), for example one declared without a distribution.
Arguments
- m
A
model().- v
The random variable, as returned by
rand_var().- dist
A distribution such as
normal(100, 15), or anempirical()sample, of the same length asv.