| variance | R Documentation | 
This function calculates the variance of a habitual intake distribution. It handles gamma and log-normal distributions.
variance(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 variance of the distribution
variance(shape=1, rate=0.5)
variance(meanlog=3, sdlog=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.