R - Tilde Operator

Card Puncher Data Processing

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.

Example

Documentation / Reference





Discover More
Card Puncher Data Processing
R - Formula ( ~ tilde)

A formula in S is indicated by the ~ character. ?formula A formula is commonly used to generate design matrices for modeling function (e.g. lm). ...



Share this page:
Follow us:
Task Runner