Description Usage Arguments Value References
Calculate Decision Curve Data
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | dca(...)
## S3 method for class 'coxph'
dca(
...,
model.names = do::get_names(...),
test.harm = 0,
new.data = NULL,
times = "median"
)
## S3 method for class 'cph'
dca(
...,
model.names = do::get_names(...),
test.harm = 0,
new.data = NULL,
times = "median"
)
## S3 method for class 'glm'
dca(..., model.names = do::get_names(...), test.harm = 0, new.data = NULL)
## S3 method for class 'lrm'
dca(..., model.names = do::get_names(...), test.harm = 0, new.data = NULL)
|
... |
one or more results of logistic or cox regression |
model.names |
names for models |
test.harm |
test harm, default is 0 |
new.data |
new data for validation |
times |
times for cox regresion, default is 'median' |
a dataframe contains thresholds, TPR: true positive rate, FPR: false positive rate, NB: net benefit, model: model names.
Vickers, A. J., & Elkin, E. B. (2006). Decision Curve Analysis: A Novel Method for Evaluating Prediction Models. Medical Decision Making, 26(6), 565–574. https://doi.org/10.1177/0272989X06295361
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.