get_covariates {tern}R 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"))


[Package tern version 0.9.9 Index]