Removed 330 rows containing non-finite values (stat_boxplot).

I guess the reason for the 'Removed N rows containing non-finite values (stat_boxplot).' error message is, that the variable's class you use for the weight argument in aes() is character, but it should be (in your case) numeric. I have not looked for other issues in the code.

3 Likes