Closed hhchang0210 closed 3 years ago
hi @hhchang0210 , thanks for the post!
The vignette has more examples in it, including how to include multiple predictions/models http://www.danieldsjoberg.com/dcurves/articles/dca.html
dca(cancer ~ famhistory + cancerpredmarker,
data = df_binary,
thresholds = seq(0, 0.35, by = 0.01)) %>%
autoplot(smooth = TRUE)
#> Assuming '1' is [Event] and '0' is [non-Event]
FYI, this project is still under development. I expect it to go to CRAN in June.
Hi, This is a great tool for creating a decision curve. But I don't know how to create a decision curve plot with multiple prediction models? like this picture:
I read the example which only demonstrates a single model. Can anyone give a me hint? Thank you very much.