net_intervention_avoided {dcurves} | R Documentation |
Add Net Interventions Avoided
Description
Add the number of net interventions avoided to dca()
object.
Usage
net_intervention_avoided(x, nper = 1)
Arguments
x |
object of class |
nper |
Number to report net interventions per. Default is 1 |
Value
'dca' object
Author(s)
Daniel D Sjoberg
See Also
dca()
, standardized_net_benefit()
, plot.dca()
, as_tibble.dca()
Examples
dca(
cancer ~ cancerpredmarker,
data = df_binary
) %>%
net_intervention_avoided()
dca(
Surv(ttcancer, cancer) ~ cancerpredmarker,
data = df_surv,
time = 1
) %>%
net_intervention_avoided(nper = 100)
[Package dcurves version 0.5.0 Index]