your code didn't mention geom_boxplot so I thought you needed a standard tutorial. If you would like specific help, a reprex is recommended