dgammapois {dppmix} | R Documentation |
Density function for Gamma-Poisson distribution.
Description
Data follow the Poisson distribution parameterized by a mean parameter that follows a gamma distribution.
Usage
dgammapois(x, a, b = 1, log = FALSE)
Arguments
x |
vector of x values |
a |
shape parameter for gamma distribution on mean parameter |
b |
rate parameter for gamma distribution on mean parameter |
log |
whether to return the density in log scale |
Value
density values
[Package dppmix version 0.1.1 Index]