In the attached boxplot, the texts have been added with the following codes:
pipa+
geom_text(x= 1.2, y= 3, label= "30mg")+
geom_text(x= 2.2, y= 3, label= "50mg")+
geom_text(x= 3.2, y= 3, label= "80mg")
However, only panel with the titile of "Pediatric (40mg/m2)" had the results I want:
1. I don't want text of "30mg" in the panel with the title of "Adult (120mg)"
2. In the panel with the titile of "Pediatric (60mg/m2)", I want add text of 40mg, 80mg, 120mg instead of current 30mg,50mg,80mg, but the position should be same
3. In the panel with the titile of "Pediatric (90mg/m2)", I want add text of 60mg, 110mg, 180mg instead of current 30mg,50mg,80mg, but the position should be same
Any thoughts/suggestions/opinions will be highly appreciated!