Skip to contents

brand_summarize_effect() returns weighted effect summaries for one or more stored transition-driver models. When cohort is supplied, summaries are restricted to those IDs and use cohort weights instead of brand$data$weight.

Usage

brand_summarize_effect(
  brand,
  model_names = NULL,
  cohort = NULL,
  ci_level = 0.95
)

Arguments

brand

A g6tr_brand object created with brand_create().

model_names

Optional character vector of effect-model names to summarize. When NULL, all stored effect models are summarized.

cohort

Optional single cohort or cohort set.

ci_level

Credible-interval level for draw-based effect summaries. Defaults to 0.95.

Value

A tibble.