validateCohortArgument | R Documentation |
Validate a cohort table input.
validateCohortArgument(
cohort,
checkEndAfterStart = FALSE,
checkOverlappingEntries = FALSE,
checkMissingValues = FALSE,
checkInObservation = FALSE,
validation = "error",
call = parent.frame()
)
cohort |
Object to be validated as a valid cohort input. |
checkEndAfterStart |
If TRUE a check that all cohort end dates come on or after cohort start date will be performed. |
checkOverlappingEntries |
If TRUE a check that no individuals have overlapping cohort entries will be performed. |
checkMissingValues |
If TRUE a check that there are no missing values in required fields will be performed. |
checkInObservation |
If TRUE a check that cohort entries are within the individuals observation periods will be performed. |
validation |
How to perform validation: "error", "warning". |
call |
A call argument to pass to cli functions. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.