Create a "fake" formula from a formula, a Formula, or a list of formulas. The function extracts all necessary variables (transformation of variables), to build a model.frame. The function also extracts all special model terms within the formulas, the information can be used to setup any special model term specification list.
Character, vector of names of special functions in the formula, see terms.formula.
nospecials
Logical, should variables of special model terms be part of the "fake formula"?
onlyspecials
Logical, should only the special model terms be returned?
Value
Depending on the input formula, the function returns a formula or Formula. If onlyspecials = TRUE a vector or list of special model term names is returned.