当前位置:网站首页>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 .
边栏推荐
- 请指教同花顺软件究竟是什么?在线开户安全么?
- 7 tips to change your life
- Redis Lua sandbox bypass command execution (cve-2022-0543)
- Prometeus 2.33.0 new features
- 2022-06-25: given a positive number n, it means that there are tasks 0~n-1. Given an array of length N, time[i] means the time when task I is completed. Given a two-dimensional array matrix, matrix[j]
- Dual batteries in series, hardware design
- Oracle练习
- 财富自由技能:把自己产品化
- 多测师拱墅肖sir_工作目录下的use websocket报错解决方案
- Camtasia 2022全新版超清錄制電腦視頻
猜你喜欢
![[机器翻译]—BLEU值的计算](/img/c3/8f98db33eb0ab5a016621d21d971e4.png)
[机器翻译]—BLEU值的计算

UTONMOS坚持“藏品、版权”双优原则助力传统文化高质量发展

2021-08-04

如何提词条

OpenAPI 3.0 specification - Food Guide

Possible values for @supply in kotlin

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

In depth good article: what is supernetting?

财富自由技能:把自己产品化

OpenAPI 3.0 规范-食用指南
随机推荐
[image filtering] image filtering system based on Matlab GUI [including Matlab source code 1913]
What is flush software? Is online account opening safe?
How to open a stock account? Is it safe to open an account online?
OpenAPI 3.0 规范-食用指南
[machine learning] case study of college entrance examination prediction based on multiple time series
OpenAPI 3.0 specification - Food Guide
100002nd prime
Gold three silver four~
Golang--channel and select
Sloppy formula
Cvpr2022 𞓜 future transformer with long-term action expectation
MySQL must master 4 languages!
How to delete gridlines in ggplot2 (with examples)
在同花顺网上开户安全吗?如何网上开一个券商账户
55 pictures make you feel a bit B-tree at one time
Chapter I: essential information collection of penetration test
使用 AnnotationDbi 转换 R 中的基因名称
A high-frequency interview question from a large factory: tell me about the solution of high and low interface idempotence? Solutions are attached.
Deep understanding of distributed cache design
Dreamcamera2 record key prompt sound into video during video recording