Rev Language Reference



fnDiscretizeGamma(RealPos shape, RealPos rate, Integer numCats, Bool median)


shape : RealPos (pass by const reference)
The shape parameter of the gamma distribution.
rate : RealPos (pass by const reference)
The rate parameter (rate = 1/scale) of the gamma distribution
numCats : Integer (pass by value)
The number of categories.
median : Bool (pass by value)
Should we use the median or mean?
Default : FALSE

Return Type