All examples use the inputs below. Input table lc_new_predictors is a list of four patients who have been diagnosed with lung cancer. The examples use the model table lungcancer_coef.
id | name | trt | celltype | karno | diagtime | age | prior |
---|---|---|---|---|---|---|---|
1 | John | standard | squamous | 30 | 4 | 63 | yes |
2 | James | standard | large | 80 | 12 | 41 | no |
3 | Stella | test | smallcell | 70 | 3 | 72 | no |
4 | Steffi | test | adeno | 60 | 5 | 63 | yes |
The preceding table includes all of the attributes that were used in the input to the CoxPH function.
The following table, used in Examples 3 and 4, contains alternate sets of reference values for each attribute.
id | trt | celltype | karno | diagtime | age | prior |
---|---|---|---|---|---|---|
1 | standard | squamous | 58 | 12 | 60 | yes |
2 | standard | smallcell | 54 | 8 | 58 | no |
3 | test | smallcell | 52 | 12 | 61 | no |
4 | test | adeno | 60 | 5 | 60 | yes |
5 | standard | adeno | 58 | 6 | 52 | yes |
6 | standard | large | 70 | 8 | 55 | no |
7 | test | squamous | 64 | 10 | 57 | yes |
8 | test | large | 60 | 8 | 62 | no |