What using the pipe (in addition to the assignment arrow) gives me is the ability to decide what to assign and when.
Without the pipe, every step needs to be assigned and I've seen that lead to hairy situations.
What using the pipe (in addition to the assignment arrow) gives me is the ability to decide what to assign and when.
Without the pipe, every step needs to be assigned and I've seen that lead to hairy situations.
Before:
...
select(color, hex)
...
After:
...
pull(hex)
...
Before:
...
select(color, hex)
...
After:
...
pull(hex)
...
If I need to do something else, I’ll modify the code accordingly.
I’m more interested in showing what is possible instead of trying to nail the one true/right/correct/best way of doing a thing.
There are enough of those kinds of people around…
If I need to do something else, I’ll modify the code accordingly.
I’m more interested in showing what is possible instead of trying to nail the one true/right/correct/best way of doing a thing.
There are enough of those kinds of people around…
And that’s the world (Excel) I came from when I started to learn R in 2020 (I know, I’m still a relative newcomer). But still I prefer the pipe.
And that’s the world (Excel) I came from when I started to learn R in 2020 (I know, I’m still a relative newcomer). But still I prefer the pipe.
And honestly, to me, clear and logical syntax is everything. Also, I'm not saying that tidyverse has gotten it right every time. But most of the times, yes.
ps. Ceci n'est pas une pipe... but yeah, pipes are part of the clear and logical syntax.
And honestly, to me, clear and logical syntax is everything. Also, I'm not saying that tidyverse has gotten it right every time. But most of the times, yes.
ps. Ceci n'est pas une pipe... but yeah, pipes are part of the clear and logical syntax.
trelliscopejs: will be featured in the Interactive Plots section
ExPanDaR: this was new to me, but looks promising! Might find its way to the Automated EDA app chapter...
trelliscopejs: will be featured in the Interactive Plots section
ExPanDaR: this was new to me, but looks promising! Might find its way to the Automated EDA app chapter...
ggforce: this will be featured heavily in the book, but not in the EDA section
corrplot: not a ggplot2 extension, but I'm featuring ggcorrplot instead
ggforce: this will be featured heavily in the book, but not in the EDA section
corrplot: not a ggplot2 extension, but I'm featuring ggcorrplot instead
explorer: another new one to me, looks more like a general EDA tool than something specifically for visualizations
DataExplorer: similar to tidyplot, DataExplorer seems more of a Helper than an EDA tool to me
explorer: another new one to me, looks more like a general EDA tool than something specifically for visualizations
DataExplorer: similar to tidyplot, DataExplorer seems more of a Helper than an EDA tool to me
tinyplot: not a ggplot2 extension as you mentioned, looks cool otherwise
tidyplot: this was new to me, but I would put it under the Shortcuts > Helpers section of the book instead of EDA
tinyplot: not a ggplot2 extension as you mentioned, looks cool otherwise
tidyplot: this was new to me, but I would put it under the Shortcuts > Helpers section of the book instead of EDA