What does the capital letter “I” in R linear regression formula mean?
I isolates or insulates the contents of I( … ) from the gaze of R’s formula parsing code. It allows the standard R operators to work as they would if you used them outside of a formula, rather than being treated as special formula operators. For example: y ~ x + x^2 would, to R, … Read more