dsbgamma | R Documentation |
Calculates size biased gamma probability density - the underlying gamma probability density when the likelihood of recording an observation is proportional to its value.
dsbgamma(x, lmean, lrate, log = FALSE, xlog = FALSE)
x |
A vector of positive numbers. |
lmean |
The mean of the distribution on the log scale. |
lrate |
The log rate parameter of the underlying gamma distribution. |
log |
A logical indicating whether to return log densities. |
xlog |
A logical indicating whether to return densities for log transformed data. |
A vector of probability densities.
data(BCI_speed_data)
agoutiData <- subset(BCI_speed_data, species=="agouti")
dsbgamma(agoutiData$speed, 0, 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.