decisionCurveAnalysisSimple | R Documentation |
Decision curve analysis using risk probability and label
decisionCurveAnalysisSimple(
label,
pred,
xstart = 0.01,
xstop = 0.99,
step = 0.01,
type = "treated",
model.name = "Model",
boots = 0
)
label |
Should be 0 and 1 |
xstart |
the starting point of the threshold probability, the default value is 0.01. |
xstop |
the end point of the threshold probability, the default value is 0.99 |
step |
a numerical value specifying the incremental step of the threshold probability, the default value is 0.01 |
type |
controls the type of net benefit to be computed. The allowed values correspond to the treated (“treated”), untreated (“untreated”) and overall (“overall”) patients, or to the ADAPT index (“adapt”). The default is the “treated” |
model.name |
Default Model |
boots |
100 Bootstrape to avoid overfitting |
data(LIRI)
pred <- as.vector( unlist( LIRI[,c(3)] ) )
decisionCurveAnalysisSimple(LIRI$status, pred)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.