Create a normally-distributed variable with the specified mean and standard deviation. Support is on the entire real line.
Arguments
- mean
Mean of the distribution (numeric or
gretaR_array).- sd
Standard deviation (numeric or
gretaR_array, positive).- dim
Integer vector of dimensions (default scalar).
- truncation
Optional length-2 numeric vector
c(lower, upper)specifying truncation bounds. DefaultNULL(no truncation). Compatible with greta's truncation syntax.
