get_predictors: Returns a vector of predictors

Description Usage Arguments Value Examples

View source: R/General_Functions.R

Description

get_predictors() returns a list with the variable names found in the model equation.

Usage

1
get_predictors(model_eq)

Arguments

model_eq

A model equation as a string

Value

A vector with each variable found in model_eq as a string

Examples

1
2
get_predictors("y~1")
get_predictors("y~height + weight")

bprucka/uttr documentation built on May 27, 2019, 11:54 a.m.