dot-get_discretized_distribution.Rd
Discretize a probability distribution.
.get_discretized_distribution(distribution, right_boundary, offset_by_one)
distribution | list. probability distribution specified in list format
e.g. list(name = "gamma", shape = 2, scale = 4).
The |
---|---|
right_boundary | positive numeric value.
Maximum number of time steps to discretize the |
offset_by_one | boolean.
Set to TRUE if |
vector containing weights of the discretized probability distribution.