楼主: 雪荆
2885 1

[问答] 分亚组的forest plot [推广有奖]

  • 2关注
  • 0粉丝

本科生

54%

还不是VIP/贵宾

-

威望
0
论坛币
5 个
通用积分
0.0004
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
831 点
帖子
60
精华
0
在线时间
103 小时
注册时间
2011-7-27
最后登录
2020-2-20

楼主
雪荆 发表于 2012-6-27 16:43:11 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
我按照R的help里面做forest plot with subgrouping of studies and summaries per subgroup,森林图的程序如下:
forest(hivres,slab=paste(hiv$author),xlim=c(-0.014,0.024),
       ilab=cbind(hiv$sample,hiv$event),ilab.xpos=c(-0.0085,-0.007),
       at=c(-0.006,-0.003,0.00,0.003,0.006,0.009,0.012,0.015,0.018),
       xlab=NA,order=order(dat$year),rows=c(3:10,13:20),
       mlab="RE Model for All Studies",
       annotate=TRUE,addfit=TRUE,addcred=TRUE,showweight=TRUE,
       digits=4,pch=15,cex=0.85,psize=NULL,cex.lab=1)
但是运行的结果却提示“Error in order(dat$year) : argument 1 is not a vector”。我不明白是什么原因,请教各位高手帮帮忙!
二维码

扫码加我 拉你入群

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

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

关键词:Forest plot Rest Est RES forest

沙发
DM小菜鸟 发表于 2014-12-16 15:50:25
dat$year扔过来看一下

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

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