getVarFormula: Extract data from a data frame using a formula interface
Description
Uses the full model syntax.
Usage
getVarFormula(formula, data = parent.frame(),
intercept = FALSE)
Arguments
data
a data frame
formula
a formula. The right-hand side selects
variables; the left-hand side, if present, is used to set
row names. A . on the right-hand side indicates
to use all variables not in the LHS.
intercept
a logical indicating whether to include
the intercept in the model default: FALSE (no intercept)