首页 > 编程知识 正文

多变量线性回归,r语言多元回归分析

时间:2023-05-04 17:36:56 阅读:270174 作者:4896

library("survival")library("survminer")res <- coxph(Surv(Survival_time, Death)~cluster_0 + cluster_1 + cluster_2 + cluster_3 + cluster_4 + cluster_5 + cluster_6 + cluster_7 + cluster_8 + cluster_9 + cluster_10 + cluster_11 + cluster_12 + cluster_13 + cluster_14 + cluster_15 + cluster_16 + cluster_17 + cluster_18 + cluster_19 + cluster_20 + cluster_21+ cluster_22 + cluster_23 + cluster_24 + cluster_25 + cluster_26 + cluster_27 + cluster_28 + cluster_29, data=datas)summary(res)ggforest(res, datas)res <- coxph(Surv(Survival_time, Death)~cluster_pro_0 + cluster_pro_1 + cluster_pro_2 + cluster_pro_3 + cluster_pro_4 + cluster_pro_5 + cluster_pro_6 + cluster_pro_7 + cluster_pro_8 + cluster_pro_9 + cluster_pro_10 + cluster_pro_11 + cluster_pro_12 + cluster_pro_13 + cluster_pro_14 + cluster_pro_15 + cluster_pro_16 + cluster_pro_17 + cluster_pro_18 + cluster_pro_19 + cluster_pro_20 + cluster_pro_21+ cluster_pro_22 + cluster_pro_23 + cluster_pro_24 + cluster_pro_25 + cluster_pro_26 + cluster_pro_27 + cluster_pro_28 + cluster_pro_29, data=datas)summary(res)ggforest(res, datas)

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。