2 ms·
Ggplot is opinionated, but mostly in its api. From memory the only thing you can’t do in base ggplot is have to y-axis, but there are plenty of libraries avail
by wodenokoto 3y ago
Ggplot is opinionated, but mostly in its api.
From memory the only thing you can’t do in base ggplot is have to y-axis, but there are plenty of libraries available that expands the types of plots available (eg gggraph for plotting network graphs)
- smodo 3y agoYou can’t have two y axes? I’d call that a pretty strong opinion.
- dav43 3y agoThis isn’t the case
- V1ndaar 3y agoWell, the thing is you can have two y axes, but they must be simple transformations one another. The reason being (iirc, don't want to put words into Hadley Wickham's mouth) is that if you cannot provide a transformation from one y axis to the other, then the data shouldn't be in one plot to begin with (as it then shows clearly distinct data).