Learn R Programming

rbmiUtils (version 0.3.0)

extract_covariates2: Extract variable names from model terms

Description

[Deprecated]

Takes a character vector including potentially model terms like * and : and extracts out the individual variables. This function is deprecated and will be removed in a future version.

Usage

extract_covariates2(x)

Value

A character vector of unique variable names.

Arguments

x

A character vector of model terms.