Computes the area under the robustness curve (comp_pct against
removed_pct) by trapezoidal integration. A higher AUC indicates a
more robust network. The maximum AUC is 1.
Arguments
- x
A robustness result from
robustness, or any data frame with columnsremoved_pctandcomp_pct. Other input raises an error.
Examples
robustness_auc(robustness(regulation_net, measure = "degree"))
#> [1] 0.43
