get.vars2: Return the variables in a formula as a character list.

Usage Arguments Value Author(s)

View source: R/formula_utils.R

Usage

1
get.vars2(form, strip = FALSE)

Arguments

form

a formula object.

strip

if TRUE then transformation functions will be removed from variable names.

Value

Character vector containing names of all variables in formula 'form'. The first element in the vector corresponds to the right hand side variable of 'form'.

Author(s)

Ben Veal


vapniks/formula_utils documentation built on May 27, 2017, 7:52 p.m.