R - Tilde Operator

> Procedural Languages > R

1 - 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:

It means is modeled as.

You can translate y = bx + c by y ~ x.

2 - Example

3 - Documentation / Reference

Advertising