r_date_of_births {generator} | R Documentation |
Generate random fake date of birth values.
r_date_of_births(n, start = as.Date("1900-01-01"), end = Sys.Date())
n |
number of observations. |
start |
starting date. |
end |
ending date. |
A character vector of n
randomly generated date of birth values.
r_date_of_births(10)
r_date_of_births(10, start = as.Date("2000-01-01"))
r_date_of_births(10,
start = as.Date("2000-01-01"),
end = as.Date("2100-01-01"))