tilde {base} | R Documentation |
Tilde is used to separate the left- and right-hand sides in model formula.
y ~ model
y, model |
symbolic expressions. |
The left-hand side is optional, and one-sided formulae are used in some contexts.
Chambers, J. M. and Hastie, T. J. (1992) Statistical models. Chapter 2 of Statistical Models in S eds J. M. Chambers and T. J. Hastie, Wadsworth & Brooks/Cole.