Creates a CGF object for the Gamma distribution with shape \(\alpha(\theta)\) and rate \(\beta(\theta)\) defined by user-provided parameter functions. This function supports both i.i.d. and non-identical usage.
Arguments
- shape
A function (or
adaptor) that accepts a single parameter vectorthetaand returns the shape parameter.- rate
A function (or
adaptor) that accepts a single parameter vectorthetaand returns the rate parameter.- iidReps
Either
"any"or a positive integer specifying how many i.i.d. blocks are expected. Defaults to"any", meaning no restriction on the length oftvec.- ...
Additional arguments passed to the underlying CGF creation function.