num_sim.Rd
Used to overcome the loss of variables (age, time since quit) in single years in the Health Surveys for England 2015+.
num_sim(x)
Character - the age/time category e.g. "15-20".
Returns an integer.
Takes a category with beginning and end separated by "-" and randomly assigns each observation a number within the age category.
num_sim("15-20")
#> [1] 20