Skip to contents

Matches names built from design/condition tokens (condition, group, treatment, arm, dose, manipulation, intervention), requiring a word boundary so e.g. "charm" does not match "arm". Used to decide whether a constant column is suspicious: a design variable with one value suggests the file was filtered to a single condition before export.

Usage

data_check_design_name(col)

Arguments

col

a column name

Value

logical

Examples

data_check_design_name("condition")
#> [1] TRUE
data_check_design_name("rt")
#> [1] FALSE