Learn R Programming

rbmiUtils (version 0.1.8)

extract_covariates2: Extract variable names from model terms

Description

Takes a character vector including potentially model terms like * and : and extracts out the individual variables.

Usage

extract_covariates2(x)

Value

A character vector of unique variable names.

Arguments

x

A character vector of model terms.