Mean Wage, by Sex and Sector

From the CPS85 data set in the mosaicData package:

Here’s the table:

sector sex meanWage
clerical F 7.404210
clerical M 7.489048
const M 9.502000
manag F 11.056190
manag M 13.721765
manuf F 5.713750
manuf M 9.302727
other F 5.801667
other M 8.761774
prof F 11.105000
prof M 12.773962
sales F 5.241765
sales M 9.495714
service F 6.059388
service M 7.226471

The Lollypop Plot: a Graphical Approach

There isn’t much data in the table, so if we insist on making a graph it should have a very light footprint. Here’s one that I call a lollypop plot:

Priority

I discovered that lollypop plots have already been investigated in ggplot2 by Yan Holtz. See his excellent R Graph Gallery.

Modufying Yan’s ideas a bit, we might create a double-pop lollypop plot as follows:

Let’s consider re-ordering the sectors by the value male mean wage: