4 ms·
I prefer the R formula syntax. i.e ~ . + 1 ~ .x + .y
by tomlue 4y ago
I prefer the R formula syntax. i.e
~ . + 1
~ .x + .y
- tfehring 4y agoI like this syntax better than the new lambda syntax, but I think it's good that a proper lambda syntax exists now. Not all higher-order functions accept formulas (they have to wrap their function arguments with rlang::as_function or equivalent), and there are probably some obscure cases where the distinction between a formula and a function matters.