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

Usage Arguments Value Author(s)

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 3, 2019, 4:33 p.m.