mean_dist | R Documentation |
This function calculates the mean of a habitual intake distribution. It handles gamma and log-normal distributions.
mean_dist(shape = NULL, rate = NULL, meanlog = NULL, sdlog = NULL)
shape |
Shape parameter for gamma distribution |
rate |
Rate parameter for gamma distribution |
meanlog |
Mean parameter for gamma distribution |
sdlog |
Standard deviation parameter for gamma distribution |
The mean of the distribution
mean_dist(shape=1, rate=0.5)
mean_dist(meanlog=3, sdlog=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.