| tilde {base} | R Documentation |
Tilde Operator
Description
Tilde is used to separate the left- and right-hand sides in a model formula.
Usage
y ~ modelArguments
y,model | symbolic expressions. |
Details
The left-hand side is optional, and one-sided formulae are used insome contexts.
A formula hasmodecall. It can be subsetted by[[: the components are~, the left-hand side (ifpresent) and the right-hand sidein that order. (Thusone-sided formulae have two components.)
References
Chambers JM, Hastie TJ (1992).“Statistical Models.”In Chambers JM, Hastie TJ (eds.),Statistical Models in S, chapter 2.Wadsworth & Brooks/Cole.
See Also
[Packagebase version 4.6.0Index]