R/standardize_net_benefit.R
standardized_net_benefit.Rd
Add the standardized net benefit to dca() object.
dca()
standardized_net_benefit(x)
object of class 'dca' calculated with dca()
'dca'
'dca' object
dca(), net_intervention_avoided(), plot.dca(), as_tibble.dca()
net_intervention_avoided()
plot.dca()
as_tibble.dca()
Daniel D Sjoberg
dca(Surv(ttcancer, cancer) ~ cancerpredmarker, data = df_surv, time = 1) %>% standardized_net_benefit() #> Printing with `plot(x, type = 'standardized_net_benefit', smooth = FALSE, show_ggplot_code = FALSE)`