Create a visit schedule as factor.

visit_schedule(visit_format = "WEEK", n_assessments = 10L, n_days = 5L)

Arguments

visit_format

as character string. Valid values: WEEK, CYCLE.

n_assessments

number of assessments. Valid values: integer.

n_days

number of days for each cycle: Valid values: integer.

Value

a factor of length n_assessments

Details

X number of visits or X number of cycles and Y number of days.

Examples

random.cdisc.data:::visit_schedule(visit_format = "WEeK", n_assessments = 10L)
random.cdisc.data:::visit_schedule(visit_format = "CyCLE", n_assessments = 5L, n_days = 2L)