当前位置:网站首页>基于 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),它返回数据集的前六行。
边栏推荐
- win32
- Remember a simple JVM tuning experience
- Ardiuno智能电蚊拍
- 基于邻接表的深度优先遍历
- The programmer's eight-year salary change has made netizens envious: you pay me one year's salary per month
- Small ball bouncing against the wall
- [defect detection] automatic defect detection of printed circuit board based on Matlab GUI [including Matlab source code 1912]
- 深度好文:什么是超网 Supernetting?
- How do I fix the iPhone green screen problem? Try these solutions
- Is it safe to trade stocks with a compass? How does the compass trade stocks? Do you need to open an account
猜你喜欢

Implement decorator pattern for servicecollection

A high-frequency interview question from a large factory: tell me about the solution of high and low interface idempotence? Solutions are attached.

Redis Lua沙盒绕过命令执行(CVE-2022-0543)

Implementation of depth first traversal based on adjacency matrix

Share some remote office experience in Intranet operation | community essay solicitation

Chrome browser developer tool usage

@Query difficult and miscellaneous diseases

Raspberry pie + AWS IOT Greengrass

Markov decision process (MDP): gambler problem

Cross server SQL connection configuration
随机推荐
[JS] free API to judge holidays, working days, Saturdays and Sundays
喜讯 | 祝贺Apache Linkis(incubating) 社区新增5位Committer
heaven and hell's moving
Agent challenge - "Olympic running"
基于邻接矩阵的广度优先遍历
工作一年闲记
College Students' big factory road
vulhub复现一 activemq
2022-06-25:给定一个正数n, 表示有0~n-1号任务, 给定一个长度为n的数组time,time[i]表示i号任务做完的时间, 给定一个二维数组matrix, matrix[j] = {a,
Redis6.0新特性——ACL(权限控制列表)实现限制用户可执行命令和KEY
SDRAM Controller - add read / write FIFO
ROS2+DDS+RTPS
微博评论的高性能高可用计算架构
[untitled] vsbiji ESP thirty-two
Audio video and CPU architecture
数字商品DGE--数字经济的财富黑马
CVPR2022 | 长期行动预期的Future Transformer
基于邻接表的广度优先遍历
SDRAM controller -- implementation of arbitration module
官方零基础入门 Jetpack Compose 的中文课程来啦!