Opposites: pairs of features of which every product has exactly one. They exclude each other and every product has one of them, so one is selected exactly when the other is not. Atomic sets are features that are always equal; opposites are always different. Needs the at-least-one graph.
Arguments
- model
A model, from
vp_generate()orvp_read(), in its complete or its minimal form.
Examples
band <- vp_generate(vp_example("miband3.uvl"), or_graph = TRUE)
vp_opposites(band)
#> # A tibble: 3 × 2
#> feature_1 feature_2
#> <chr> <chr>
#> 1 Screen BT40
#> 2 OLED BT40
#> 3 CapacityButton BT40