I'm reading Section 2.4.1 Rules for Coding Expanded Formulas in Statistical Models in S by Chambers and Hastie. It is a little abstract for me. Could somebody point me some references that have more examples and more explanations that can help me understand the rules (in particular, the ones on page 39 and 40)?