Description Usage Arguments Value Examples
View source: R/create_dummy_data.R
Generate a random sample of dates in a given range
1 2 3 4 5 | get_random_dates(
number_of_patients = 100,
from = today() - months(3),
to = today() + months(3)
)
|
number_of_patients |
The number of patients in the dataset (default=100) |
from |
Start date for random date range (default is 3 months ago) |
to |
End date for random date range (default is 3 months in the future) |
a list of random dates in the given range
1 2 | get_random_dates(10)
get_random_dates(100,as.Date("2000-01-01"),as.Date( "2000-12-31"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.