brand_create() initializes a minimal brand analysis object with a base
respondent-by-brand panel, default weights, and empty containers for funnel,
attribute, NPS, and model results.
Examples
brand <- brand_create(
respondents = c("1002", "1001"),
brands = factor(
c("Nike", "Adidas", "Puma"),
levels = c("Puma", "Nike", "Adidas")
)
)
#> ✔ Created brand analysis object: 2 respondents x 3 brands = 6 panel rows.
brand
#>
#> ── Brand Analysis ──────────────────────────────────────────────────────────────
#> Respondents: 2
#> Brands: 3 ("Puma", "Nike", and "Adidas")
#> Funnel stages: 0 (use `brand_add_funnel_stage()` to add them)
#> NPS attached: FALSE (use `brand_add_nps()` to add NPS data)
#> Attributes: 0 (use `brand_add_attributes()` to attach them)
#> Weights: all 1
#> Data: 0 additional columns attached
#> Effect models: 0
#> Performance models: 0