Skip to contents

Matches case/participant/subject/id (case-insensitive). Returns the original column name.

Usage

find_case_var(data)

Arguments

data

Data frame.

Value

Column name, or NULL if no match.

Examples

find_case_var(data.frame(participant = 1:3, outcome = rnorm(3)))
#> [1] "participant"