View source: R/classCohortTable.R
checkCohortRequirements | R Documentation |
checkCohortRequirements(
cohort,
checkEndAfterStart = TRUE,
checkOverlappingEntries = TRUE,
checkMissingValues = TRUE,
checkInObservation = TRUE,
type = "error",
call = parent.frame()
)
cohort |
|
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. |
type |
Can be either "error" or "warning". If "error" any check failure will result in an error, whereas if "warning" any check failure will result in a warning. |
call |
The call for which to return the error message. |
An error will be returned if any of the selected checks fail.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.