Description Usage Arguments Value
Computes models with the survival package for coxph, survfit,
survdiff as well as computes the fit p-values using pchisq with the
chisq values from survdiff. Modelling data is stored in modelData,
as well as a data.table with all model data merged in modelDT. These
items are all assigned to the models slot.
| 1 2 | ## S4 method for signature 'CoxModel'
trainModel(object)
 | 
| object | A  | 
A CoxModel object with the results of coxph, survfit and
survdiff in the models slot as lists where each item corresponds to
the data in modelData. For convenience, all the model data has also
been merged into a single data.table in the modelDT item of models.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.