楼主: verbatim
927 0

[问答] add text in the boxplot area [推广有奖]

  • 1关注
  • 3粉丝

已卖:25份资源

博士生

5%

还不是VIP/贵宾

-

威望
0
论坛币
513 个
通用积分
2.0505
学术水平
0 点
热心指数
2 点
信用等级
0 点
经验
3404 点
帖子
139
精华
0
在线时间
143 小时
注册时间
2006-12-1
最后登录
2020-1-30

楼主
verbatim 发表于 2017-4-1 00:18:09 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
pipa.pdf (31.06 KB)

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!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:BOXPLOT area plot Text add

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-31 17:45