R - (Indicator|Identity) Function (I)

> Procedural Languages > R

2 - Protection

As power has a meaning in the formula, the identity function (I) is used to protect it.

I(predictor1^2)
Advertising

3 - Indicator

I(Year < 2005)

Year < 2005 turns into a logical but when wrapped in a indicator becomes a zero-one variable.