Reputation: 1
I am trying to rearrange a dataset to create a line graph with two y-variables that will use the same scale, meaning that there will only be one y-axis. One of my variables has significantly higher values than the other so I am hoping to create a broken y-axis.
I think the first step to being able to graph this data set is rearranging my table to go from this:
Current format: (https://i.sstatic.net/pzHHRyUf.png)
To something like this: Desired format: (https://i.sstatic.net/y2YH6e0w.png)
I am pretty new to R so I am not sure how to do this. Can anyone provide some guidance?
Thanks!
Upvotes: 0
Views: 40