datecut: Generating Optimal cuts for the Data

Description Usage Arguments Details Value Examples

Description

Performs Cox proportional hazards regression model on patients survival days based on different cutoffs

Usage

1
datecut(x, surdays, event)

Arguments

x

comorbidity data matrix with column correspond to ICD9 codes and row correspond to each patient

surdays

survival days for each patient

event

indictor variable 1 represent patient died 0 represent patient survive

Details

Building and draw personized disease network

Value

a vector of cutoff points that maximize the Z statistics for cox model between each Diagnosis/Procedure A to another Diagnosis/Procedure B

Examples

1
2
3
4
5
6

PDN documentation built on May 2, 2019, 3:10 p.m.