Learn R Programming

survJamda (version 1.1.4)

comb.surv.censor: Merge survival times and censoring status.

Description

Merge vectors of survival time and censoring status of different data sets for joint analysis.

Usage

comb.surv.censor(geno.files,index,surv.data)

Arguments

geno.files
Vector of character strings containing the names of expression files.

index
Index of the data files in geno.files to be combined.
surv.data
List of two vectors, survival time and censoring status. In the censoring status vector, 1 = event occurred, 0 = censored.

Value

A list of two vectors, combined survival time and censoring status.

Warning

This function is not called by the user directly.