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:
It means is modeled as.
You can translate y = bx + c by y ~ x.