Rev Language Reference


fnDiscretizeGammaFromBetaQuantiles

Usage

fnDiscretizeGammaFromBetaQuantiles(RealPos alpha, RealPos beta, RealPos shape, RealPos rate, Integer numCats, Bool median)

Arguments

alpha : RealPos (pass by const reference)
The alpha parameter of the beta distribution.
beta : RealPos (pass by const reference)
The beta parameter of the beta distribution
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