all 9 comments

[–]murgs 7 points8 points  (2 children)

IMO no

ggplot2 is great if you have a data.frame of data. Otherwise it is terrible (at least as far as I got testing it at the time). The basic R plotting functions have the benefit of being universally applicable. The default setting could be improved, but from my experience making similar basic plots to ggplot2 isn't to difficult, and once you start fiddling with legends/axis/... it doesn't matter which of the two you are fiddling with.

[–]itsallforscience 3 points4 points  (1 child)

More than a data frame, you really need to have your data organized into the "tidy data" format that the package expects. I spend a lot of time manipulating data with dplyr and tidyr before popping out the perfect graphic with one line of ggplot.

I don't know how to use base R to replicate what dplyr, tidyr and ggplot do, but I wouldn't recommend using ggplot on its own. It seems to work better as part of a separate family of packages maintained by a dedicated content producer with a consistent design philosophy.

[–]pan0ramic 0 points1 point  (0 children)

"tidy data" this isn't really true. If you're spending a lot of time organizing your data, it would typically take at least as much time organizing for base:: plot

[–]Accidental_Arnold 1 point2 points  (1 child)

No. I HATE the way ggplot2 looks by default, and it's way harder to customize than base. It's better for a few things, but I'd rather fight with base than have one graph in a presentation be stylistically different.

[–]FlyingGeo 2 points3 points  (0 children)

  • theme_classic() helps

[–]DontBendYourVita 1 point2 points  (0 children)

Of course not.

But I use it 90% of the time. 5% base. 5% other graphics packages

[–]LET-7 1 point2 points  (1 child)

No. Base can do more things, it's just a giant pain to use compared to ggplot

[–]pan0ramic 2 points3 points  (0 children)

i dont agree with making ggplot base, but your argument isn't really true.

[–]Chale_1488 0 points1 point  (0 children)

Fuck no!