Learn R Programming

autohd (version 0.1.0)

coxmulti: Multivariate cox proportional hazard data analysis

Description

Given the dimensions of the variables and survival informations. The function performs multivariate Cox PH by taking 5 variables at a time.

Usage

coxmulti(
  C1 = NULL,
  C2 = NULL,
  C3 = NULL,
  C4 = NULL,
  C5 = NULL,
  survdur,
  event,
  data
)

Arguments

C1

Covar1

C2

Covar2

C3

Covar3

C4

Covar4

C5

Covar5

survdur

"Column/Variable name" consisting duration of survival.

event

"Column/Variable name" consisting survival event.

data

High dimensional data containing survival observations and covariates.

Value

Data set containing the survival estimates and Pvalue.

Examples

Run this code
# NOT RUN {
##
coxmulti(C1="PGC",C2="C7",C3="HPN",C4="DDC",C5=NULL,survdur="os",event="death",data=hnscc2)
# }

Run the code above in your browser using DataLab