当前位置:网站首页>Survival analysis based on ovarian data set
Survival analysis based on ovarian data set
2022-06-26 02:45:00 【Mrrunsen】
R Types of survival analysis in
There are two main methods of survival analysis :
Kaplan-Meier Method and Log Rank Test: This method can use the function survfit() To achieve ,plot() Used to draw living objects . function ggsurvplot() It can also be used to draw survfit The object of .
Cox Proportional Hazards Models coxph(): This function is used to get the living object ,ggforest() Graphics for drawing living objects .
To get the package , We use library() Function to import them .
library(“survival”)
library(“survminer”)
Let's load the dataset and check its structure . For survival analysis , We will use the ovarian data set . To load a dataset , We use R Medium data() function .
data(“ovarian”)
The ovarian data set includes patients with ovarian cancer and their respective clinical information . It also includes tracking the patient until their death or loss of follow-up 、 Is the patient being reviewed 、 Patient age 、 Treatment group assignment 、 The presence of residual disease and physical condition .
To check the data set , Let's carry out head(ovarian), It returns the first six rows of the dataset .
边栏推荐
- 数据库查询语句SQL中like、%、-的区别
- Redis configuration and optimization of NoSQL
- How do I fix the iPhone green screen problem? Try these solutions
- Explain the JVM clearly at one time and don't be asked by the interviewer again
- Introduction to bloc: detailed explanation of cube
- 100002nd prime
- Binary search
- Fresh graduates talk about their graduation stories
- MySQL updates records based on the queried data
- PyQt theme
猜你喜欢

Dynamic analysis and calculation of expression, flee is really sweet to use

Here comes the official zero foundation introduction jetpack compose Chinese course!

GD32 ADC采集电压

Fresh graduates talk about their graduation stories

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

Redis6.0 new feature - ACL (permission control list) implements the restriction of user executable commands and keys

@Query difficult and miscellaneous diseases

The programmer's eight-year salary change has made netizens envious: you pay me one year's salary per month

UTONMOS:以数字藏品助力华夏文化传承和数字科技发展

【解决】CMake was unable to find a build program corresponding to “Unix Makefiles“.
随机推荐
【解决】CMake was unable to find a build program corresponding to “Unix Makefiles“.
. Net7 miniapi (special part):preview5 optimizes JWT verification (Part 2)
Blazor University (33) form - editcontext, fieldidentifiers
Implement decorator pattern for servicecollection
IPhone 13 screen stuck black, unable to shut down? How to solve
vulhub复现一 activemq
Limit the input character length to 1 character in English and 2 characters in Chinese
Here comes the official zero foundation introduction jetpack compose Chinese course!
DF reports an error stale file handle
分享一些在内网操作的远程办公经验| 社区征文
The difference between like,%, - in database query SQL
How do I take a screenshot of the iPad? 7 ways to take quick screenshots of iPad
Camtasia 2022 nouvelle vidéo d'ordinateur d'enregistrement ultra - clair
R 语言马尔可夫链蒙特卡洛:实用介绍
Digital commodity DGE -- the dark horse of wealth in digital economy
The programmer's eight-year salary change has made netizens envious: you pay me one year's salary per month
解读Oracle
Which SMS plug-in is easy to use? The universal form needs to be tested by sending SMS
golang--channal与select
音视频与CPU架构