View source: R/contact-matrix-utils.R
| sample_from_age_distribution | R Documentation |
[min, max] bandsSample ages from a distribution within [min, max] bands
sample_from_age_distribution(mins, maxs, distribution)
mins |
integer vector of lower bounds |
maxs |
integer vector of upper bounds |
distribution |
data.frame with |
integer vector of sampled ages
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.