Validate a conjoint design configuration
Examples
cfg <- cjtd_design_config(
attributes = list(
brand = c("A", "B", "C", "D"),
price = c("very_high", "high", "mid", "low", "very_low"),
f1 = c("off", "on"),
f2 = c("off", "on"),
f3 = c("off", "on")
),
n_tasks = 10,
n_alternatives = 3,
n_versions = 2
)
# Validation is run automatically when the config is created,
# but it can also be called directly.
validate_cjtd_design_config(cfg)