在运行带有惩罚样条的cox比例风险模型后,汇总表将截断系数的行名。是否有方法打印完整参数或增加截断限制以确保整行名称。
对一些虚拟数据建模:
library(survival)
dummy = data.frame(
survival = c(0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0,0,1,0,0,0,1),
time = c(60,120,180,240,300,360,60,120,180,240,60,120,180,240,300,360,420,480,60,120,180,60,120,180,240),
cov1 = c(9.