6 ms·
You know, I often forget to mention formula notation as a reason I love R. It is superbly natural. R's natural support for data frame (collections of multidimen
by tel 16y ago
You know, I often forget to mention formula notation as a reason I love R. It is superbly natural. R's natural support for data frame (collections of multidimensional observations) and formula notation make's it easy for every single disparate library to convene on a common language for high-level usage. Pretty near every function shares the same first two parameters:
out <- f(formula, data-frame, ... other options ...)
- Sukotto 16y agoPretty near every function shares the same first two parameters Better then to make those two params passed by default so you don't have to type them every time.
- scott_s 16y agoThe functions take the same idea as a parameter, not the exact same parameter. You still need to specify what formula the function will operate on.