Displaying 1 result from an estimated 1 matches for "y2a".
Did you mean:
y2
2011 Dec 13
1
plotting 2 Y-axes, aligning the 0 value
Hi,
Being a novice to R, I would like to create a graph in R with 2 axes.
One of the 2 only has positive values, the other one also has negative
values. The part I'm struggling with is how to align the 2.
Rather than starting to plot the data from the x axis, I would like to
start plotting the positive values on the right axis only as of the 0
value on the left axis.
Using a simple example