An Introduction to R

Note that inside the parentheses that usually enclose function argumentsall operators have their normal arithmetic meaning. The functionI() is an identity function used to allow terms in model formulaeto be defined using arithmetic operators. The…