named_group_list: Provide name and levels for categories for group terms

named_group_listR Documentation

Provide name and levels for categories for group terms

Description

convenience function to generate group terms output

Usage

named_group_list(g, t, m)

Arguments

g

character vector of all 'All' followed by all unique terms

t

character vector of term(s)

m

data.frame of provided metadata

Value

a named list of character vectors, where names are terms and containing vectors are unique levels or 'numeric' if not categorical. First Entry is named 'All' and contains all levels.


thomazbastiaanssen/anansi documentation built on June 9, 2025, 3:59 p.m.