Learn R Programming

powerbrmsINLA (version 1.1.1)

.plot_decision_assurance_curve_from_summary: Plot decision/assurance curve across n

Description

Plot decision/assurance curve across n

Usage

.plot_decision_assurance_curve_from_summary(
  x,
  y_metric = c("assurance", "power_direction", "power_threshold", "power_rope",
    "bf_hit_10"),
  target = NULL,
  effect_filter = NULL,
  first_n_label = TRUE
)

Value

ggplot object.

Arguments

x

Engine result list (with $summary) or a data.frame.

y_metric

One of "assurance","power_direction","power_threshold","power_rope","bf_hit_10".

target

Optional horizontal target line.

effect_filter

Named list for exact-match filtering (e.g., list(treatment=0.5)).

first_n_label

If TRUE, annotate first n reaching target.