1.9 Conventions
Throughout this book I use f()
to refer to functions, g
to refer to variables and function parameters, and h/
to paths.
Larger code blocks intermingle input and output. Output is commented (#>
) so that if you have an electronic version of the book, e.g., https://adv-r.hadley.nz/, you can easily copy and paste examples into R.
Many examples use random numbers. These are made reproducible by set.seed(1014)
, which is executed automatically at the start of each chapter.