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