ind_vars: Independent variable(s)

Description Usage Arguments Value See Also

View source: R/utils.r

Description

Extract the name of the independent variable(s) from formula

Usage

1
ind_vars(formula, simplify = F)

Arguments

formula

formula to inspect, either as formula object or string

simplify

if terms such as I(x^2) should be retained as variable or not

Value

name of the independent variable(s)

See Also

all.vars from base package to get all variables


pezzacolori/boris-r-misc documentation built on Sept. 14, 2021, 1:46 a.m.