Relative Content

Tag Archive for rggplot2plotrix

How to plot a bar graph with a line break in the Y axis in R?

I’ve been trying to plot a graph in R using the gap.barplot() function in plotrix to add a line break in the Y axis, but it was unsuccessful. I have gone through several questions here on stackoverflow but I couldn’t find anything that worked for me. This is the dataframe and code I used –