surv_risk_m | R Documentation |
Find the risk level for patient under model
surv_risk_m(model, train_data, test_data, upper, lower)
model |
fitted model (xgb or lgb) |
train_data |
train data (only covariates) |
test_data |
test data (only covaraites) |
upper |
upper percentil cutting point |
lower |
lower percentil cutting point |
a factor vector with three different risk levels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.