


Smaller comments in the code – I recommend to read. I’ve also used a smaller version of your data and slightly changed your regex. I’ve boiled down your code to something more essential – to crystallise the problem: The use of a global aesthetic for all geom layers, although not all data frames have this aesthetic (in your case: mod). There are many things wrong in your code.
