What is the best way to generate a dotplot with two factors like this, preferably using standard R plots (not ggplot) and from a 2×2 data frame. The horizontal lines should be means. I have tried cleveland dot charts, but cannot figure out how to get two data series’ and have the dots jittered:

The following piece of code should do the trick:
which gives: