Hey guys.
I think this should really work, as part of the tidy approach using pipes:
No reason that this
(2054-2000)/2000 %>% round(2)[1] 0.027
Won't be the same as this
round(0.027,2)[1] 0.03
Hello, rewriting the operator precedence rules is out of scope for magrittr, so you'll have to use explicit parentheses. Note that this is also the case with the base |> pipe.
Hey guys. I think this should really work, as part of the tidy approach using pipes: No reason that this
(2054-2000)/2000 %>% round(2)
[1] 0.027
Won't be the same as thisround(0.027,2)
[1] 0.03