楼主: moonstone
70249 33

[程序分享] R绘制Nomogram图的学习笔记 [推广有奖]

21
pinge1987 发表于 2018-8-15 10:14:39 |只看作者 |坛友微信交流群
pinge1987 发表于 2018-8-15 10:02
你好,我也碰到这种问题,请问你解决了吗?
Error in approx(fu, xseq, fat, ties = mean) :
   ...
我知道是为什么了,因为我的随访时间没到10年,所以,如果套用楼主的code,10年这个是没有的,所以会出现上诉错误。根据自己的随访时间修改一下就好了。

使用道具

22
wshzdbb 发表于 2018-10-13 21:05:32 |只看作者 |坛友微信交流群
求教您,如何将1年和3年的DFS画在一张图呢,谢谢您

使用道具

23
大脸花123 发表于 2018-10-23 17:53:20 |只看作者 |坛友微信交流群
你好,我看到您写的关于nomogram和校准曲线的帖子,我想问下对于逻辑回归模型,关于独立验证集的校准曲线该如何绘制。因为我发现calibrate的输入是一个model,所以不太清楚该如何操作验证集,绘制验证集的校准曲线。

使用道具

24
薄荷苗 发表于 2018-10-27 10:19:53 |只看作者 |坛友微信交流群
datadist这个函数不存在,请问是在哪个包里吗,另外rms包也找不到

使用道具

25
Liuying段 发表于 2019-10-24 18:34:18 来自手机 |只看作者 |坛友微信交流群
感谢分享!我想请教一下nom<-nomogram(model,fun=list(function(x)surv(1,x),function(x)surv(2,x)),funlabel = c(\"1-year risk Probability\",\"2-year risk Probability\"),lp=F)
我的时间数据单位是年

报错Error in approx(fu[s], xseq[s], fat, ties = mean) :
  need at least two non-NA values to interpolate这种问题怎么解决呢?

使用道具

26
yangming98 发表于 2019-10-24 21:45:21 来自手机 |只看作者 |坛友微信交流群
moonstone 发表于 2015-12-4 11:01
Nomogram,中文常称为诺莫图或者列线图,简单的说是将Logistic回归或Cox回归的结果进行可视化呈现。它根据所 ...
好的好的好的好的

使用道具

27
zhangce665 发表于 2019-11-24 14:07:07 |只看作者 |坛友微信交流群
写的太好了,困扰我将近半年的事情被这个帖子解决了,谢谢楼主

使用道具

28
tjssl 发表于 2019-11-24 16:07:02 |只看作者 |坛友微信交流群
第71步,cal1 <- calibrate(f2, cmethod='KM', method="bootstrap", u=12, m=34, B=50)
也出现了Error in UseMethod("calibrate") :
  no applicable method for 'calibrate' applied to an object of class "c('psm', 'rms', 'survreg')" 请问怎么解决。

使用道具

29
tomato7 发表于 2019-11-27 09:11:13 |只看作者 |坛友微信交流群
请问有没有人画nomo图出现这个错误:
Error in lims[[i]] : subscript out of bounds
In addition: Warning message:
In structure(limits, class = "data.frame", row.names = c("Low:effect",  :
  Calling 'structure(NULL, *)' is deprecated, as NULL cannot have attributes.
  Consider 'structure(list(), *)' instead.

使用道具

30
LL-Liu 发表于 2019-12-13 09:12:03 |只看作者 |坛友微信交流群
Liuying段 发表于 2019-10-24 18:34
感谢分享!我想请教一下nom
Error in approx(fu, xseq, fat, ties = mean) :
  need at least two non-NA values to interpolate
请问这个错误您解决了吗?我也碰到了这个问题,搞不懂是为什么

使用道具

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

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-24 20:41