Description Usage Arguments Details Value Examples
Used to overcome the loss of variables (age, time since quit) in single years in the Health Surveys for England 2015+.
1 | num_sim(x)
|
x |
Character - the age/time category e.g. "15-20". |
Takes a category with beginning and end separated by "-" and randomly assigns each observation a number within the age category.
Returns an integer.
1 | num_sim("15-20")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.