Description Usage Arguments Value Examples
This function use data set with cut off information to create network matrix
1 | buildnetworks(x, k1, del = 0)
|
x |
comorbidity data matrix with column correspond to ICD9 codes and row correspond to each patient |
k1 |
the cut off point between Diagnosis/Procedure A to another Diagnosis/Procedure B, it can be fix number, NULL and datecut |
del |
number of character deleted for each name of the input |
Network Matrix
1 2 3 4 5 | # Select a subset of data for toy example
comorbidity_data = comorbidity_data[c(1:10),]
survival_data = survival_data[c(1:10),]
k1 = datecut(comorbidity_data,survival_data[,1],survival_data[,2])
a = buildnetworks(comorbidity_data,k1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.