R - (Indicator|Identity) Function (I)

Protection

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

I(predictor1^2)

Indicator

I(Year < 2005)

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


Powered by ComboStrap