Create a visit schedule as a factor.
Usage
visit_schedule(visit_format = "WEEK", n_assessments = 10L, n_days = 5L)
Arguments
- visit_format
(character
)
Type of visit. Options are "WEEK" and "CYCLE".
- n_assessments
(integer
)
Number of weeks or cycles.
- n_days
(integer
)
Number of days in each cycle (only used if visit_format
is "CYCLE").
Value
A factor of length n_assessments
.
Details
X number of visits, or X number of cycles and Y number of days.
Examples
visit_schedule(visit_format = "WEeK", n_assessments = 10L)
visit_schedule(visit_format = "CyCLE", n_assessments = 5L, n_days = 2L)