About
A formula in S is indicated by the tilde character.
The Tilde operator separate the left- and right-hand sides in a model formula.
where:
- The left hand is a dependent variable)
- The right hand is the independent variable.
It means is modeled as.
You can translate y = bx + c by y ~ x.