random_date: randomDate Function

Description Usage Arguments Value

Description

randomDate Function

Usage

1
2
random_date(size = 100, seed = 2, start_time = "1930/01/01",
  end_time = Sys.Date())

Arguments

size

integer is the number of dates to simulate (default is 100)

seed

integer is the random seed for generating random numbers (default is 2)

start_time

string is the YYYY/MM/DD start time to start the sampled random dates (default is 1930/01/01)

end_time

string is the YYYY/MM/DD end time to cut off the sampled random dates (default is today's date)

Value

vector of random dates length size


validatehealth/cmshcc documentation built on May 8, 2019, 6:51 p.m.