当前位置:网站首页>基于 ovarian 数据集 进行生存分析
基于 ovarian 数据集 进行生存分析
2022-06-26 01:31:00 【Mrrunsen】
R中生存分析的类型
生存分析主要有两种方法:
Kaplan-Meier Method and Log Rank Test:该方法可以使用函数survfit()来实现,plot()用于绘制生存对象。函数ggsurvplot()也可以用来绘制survfit的对象。
Cox Proportional Hazards Models coxph():该函数用于获取生存对象,ggforest()用于绘制生存对象的图形。
为了获取包,我们使用 library() 函数导入它们。
library(“survival”)
library(“survminer”)
让我们加载数据集并检查其结构。对于生存分析,我们将使用卵巢数据集。要加载数据集,我们使用 R 中的 data() 函数。
data(“ovarian”)
卵巢数据集包括卵巢癌患者和各自的临床信息。它还包括跟踪患者直到他们死亡或失访的时间、患者是否被审查、患者年龄、治疗组分配、残留疾病的存在和体能状态。
为了检查数据集,让我们执行 head(ovarian),它返回数据集的前六行。
边栏推荐
- How do I fix the iPhone green screen problem? Try these solutions
- Cow sequencing problem
- Tarte aux framboises + AWS IOT Greengrass
- Dynamic analysis and calculation of expression, flee is really sweet to use
- OA process editing
- Analytic hierarchy process
- Is it safe to open a securities account at the school of Finance and business in 2022?
- Largeur d'abord traversée basée sur la matrice de contiguïté
- SDRAM Controller - add read / write FIFO
- Prometeus 2.33.0 new features
猜你喜欢

数字商品DGE--数字经济的财富黑马

Tarte aux framboises + AWS IOT Greengrass

IPhone 13 screen stuck black, unable to shut down? How to solve

Scala Basics (II): variables and data types

微服务之consul

第一章:渗透测试的本质信息收集

Cross server SQL connection configuration

ROS2+DDS+RTPS

Ardiuno smart mosquito racket

Deep understanding of distributed cache design
随机推荐
Dynamic analysis and calculation of expression, flee is really sweet to use
Agent challenge - "Olympic running"
@Query 疑难杂症
WPF 窗口居中 & 变更触发机制
Markov decision process (MDP): Blackjack problem (mc-es)
Interviewer: please name four ways to exchange the values of two variables without using third-party variables
Blazor University (33) form - editcontext, fieldidentifiers
Consumer of microservices
# 云原生训练营毕业总结
基于邻接表的广度优先遍历
CVPR2022 | 长期行动预期的Future Transformer
55 pictures make you feel a bit B-tree at one time
. Net7 miniapi (special part):preview5 optimizes JWT verification (Part 2)
Small ball bouncing against the wall
Advanced cross platform application development (23): an article approaching the launch of testlight
Snake game
基于邻接表的深度优先遍历
UTONMOS坚持“藏品、版权”双优原则助力传统文化高质量发展
Implement decorator pattern for servicecollection
图的广度优先遍历