diff --git a/vignettes/usage.Rmd b/vignettes/usage.Rmd index 5e6c9fe..70b3199 100644 --- a/vignettes/usage.Rmd +++ b/vignettes/usage.Rmd @@ -58,21 +58,19 @@ If you do wish to restrict some attribute level combinations, you can do so usin - `"Gala"` apples will not be shown with the prices `1.5`, `2.5`, and `3.5`. - `"Honeycrisp"` apples will not be shown with prices less than `2`. -- `"Honeycrisp"` apples will only be shown with `"Average"` freshness. - `"Fuji"` apples will not be shown with the `"Excellent"` freshness. -With these restrictions, there are now only 39 profiles compared to 81 without them: +With these restrictions, there are now only 57 profiles compared to 81 without them: ```{r} restricted_profiles <- cbc_restrict( profiles, type == "Gala" & price %in% c(1.5, 2.5, 3.5), - type == "Honeycrisp" & price > 2, - type == "Honeycrisp" & freshness %in% c("Poor", "Excellent"), + type == "Honeycrisp" & price < 2, type == "Fuji" & freshness == "Excellent" ) -restricted_profiles +dim(restricted_profiles) ``` # Generate survey designs @@ -85,23 +83,14 @@ Once a set of profiles is obtained, a conjoint survey can then be generated usin - `n_q`: The number of questions per respondent. - `method`: The design strategy to use (defaults to `"random"`). -The `method` argument determines the design method used. Options are: +The `method` argument determines the design strategy to use: `"random"`, `"full"`, `"orthogonal"`, `"dopt"`, `"CEA"`, or `"Modfed"`. All methods ensure that the two following criteria are met: -- `"random"` -- `"full"` -- `"orthogonal"` -- `"dopt"` -- `"CEA"` -- `"Modfed"` - -All methods ensure that the two following criteria are met: - -1. No two profiles are the same within any one choice set. +1. No two profiles are the same within any one choice set. 2. No two choice sets are the same within any one respondent. -The table below summarizes method compatibility with other design options, including the ability to include a "no choice" option, the creation of a "labeled" design (also called a "alternative-specific" design), the use of restricted profile, and the use of blocking. +The table below summarizes method compatibility with other design options, including the ability to include a "no choice" option, the creation of a "labeled" design (also called a "alternative-specific" design), the use of restricted profiles, and the use of blocking. -Method | Include "no choice"? | Labeled designs? | Restricted profiles? | Blocking? +Method | No choice | Labeled designs | Restricted profiles | Blocking ---|---|---|---|--- `"random"` | Yes | Yes | Yes | No `"full"` | Yes | Yes | Yes | Yes