View source: R/generate_dists.R
generate_dists | R Documentation |
This function generates data for plotting subnational nutrient intake distributions. It is provided a dataframe generated from the get_dists() function.
generate_dists(dists, perc = 0.9999)
dists |
A data frame of nutrient distributions |
perc |
The maximum percentile to draw to |
A dataframe
dists <- nutriR::get_dists(isos=c("USA", "BGD"), nutrients=c("Iron"), sexes="MF", ages=20:40)
dists_sim <- nutriR::generate_dists(dists)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.