Details
below.ValidateOutcomeDataset(dsOutcome, outcomeNames)
TRUE
if the validation passes.
Returns an error (and associated descriptive message) if it false.dsOutcome
parameter must:
1) Have a non-missing value.
2) Contain at least one row.
3) Contain a column called 'SubjectTag' (case sensitive).
4) Have the SubjectTag column containing only positive numbers.
5) Have the SubjectTag column where all values are unique (ie, two rows/subjects cannot have the same value).
The outcomeNames
parameter must:
1) Have a non-missing value
2) Contain only column names that are present in the dsOutcome
data frame.