I make use of the functions `apply()` and `sweep()`. Some users may not be familiar with these so we should add them to the appendix.