Skip to contents

Ensures the input is data frame-like, contains a cohort column, and that each element in the cohort column is a valid cohort.

Usage

check_cohort_set(x)

Arguments

x

A data frame-like object containing a cohort column.

Value

The original input, unchanged, if validation succeeds.