get_covariates: Utility function to return a named list of covariate names

View source: R/utils.R

get_covariatesR Documentation

Utility function to return a named list of covariate names

Description

[Stable]

Usage

get_covariates(covariates)

Arguments

covariates

(character)
a vector that can contain single variable names (such as "X1"), and/or interaction terms indicated by "X1 * X2".

Value

A named list of character vector.

Examples

get_covariates(c("a * b", "c"))


tern documentation built on June 20, 2025, 9:08 a.m.