Asterisk (*) vs. colon (:) in R formulas [closed] Asterisk (*) vs. colon (:) in R formulas [closed] r r

Asterisk (*) vs. colon (:) in R formulas [closed]


From help(formula):

 In addition to ‘+’ and ‘:, a number of other operators are useful in model formulae.  The ‘*’ operator denotes factor crossing: ‘a*b’ interpreted as ‘a+b+a:b’.