Skip to contents

The most specific category of each group (see group_memberships()): a category defined with more conditions wins.

Usage

group_category(groups, rules)

Arguments

groups

The groups array of a study's metadata.

rules

Rules from read_rules().

Value

A character vector of categories named by group_id (NA where no category applies).