Description Usage Arguments Value
Fits a Cox proportional hazards model to the given training set and predicts on the input test set. Performance metrics for predicted hazard ratios for training and test sets are calculated.
1 | cv(variables, train, test)
|
variables |
a string of the variables to use in the model ("new_user + text_length + ...") |
train |
training set to build the model on |
test |
test set to predict on |
data frame with prediction performance metrics for the training and test set
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.