Description Usage Arguments Value Examples
View source: R/Misc/Pre.hhohhoMaxARTFinal.Sim/hho.rsimpacthelper.R View source: R/agedistr.creator.R
Create an age distribution, consistent with a Weibull survival distribution in the absence of HIV-related mortality, for the population at the start of the simulation.
1 | agedistr.creator(shape = 5, scale = 65)
|
shape |
The shape parameter for the Weibull distribution function (default is 5) |
scale |
The scale parameter for the Weibull distribution function (default is 65) |
a data.frame with Age, Percent.Male and Percent.Female as variables, and 101 rows (0.5 to 100.5 years old). Nobody gets older than 100 years old.
1 2 | agedist.data.frame <- agedistr.creator(shape = 5, scale = 65)
agedist.data.frame
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.