What some features need: the features themselves and every feature they require (their "up-set").
Arguments
- model
A model, from
vp_generate()orvp_read(), in its complete or its minimal form.- features
One feature or several.
Value
A tibble with the columns feature and brought_by (the first given
feature that brings it; a given feature is brought by itself).
See also
Other hierarchy:
vp_atomic_sets(),
vp_chains(),
vp_common_dependants(),
vp_common_requirements(),
vp_depth(),
vp_downset(),
vp_false_optional(),
vp_feature_tree(),
vp_foundations(),
vp_implied_requires(),
vp_largest_free_set(),
vp_largest_unrelated_set(),
vp_leaves(),
vp_levels(),
vp_longest_chain(),
vp_longest_decision_chain(),
vp_redundant_candidates(),
vp_skeleton(),
vp_tree_agreement(),
vp_width()
Examples
band <- vp_generate(vp_example("miband3.uvl"), or_graph = TRUE)
vp_upset(band, "TouchScreen")
#> # A tibble: 6 × 2
#> feature brought_by
#> <chr> <chr>
#> 1 TouchScreen TouchScreen
#> 2 Screen TouchScreen
#> 3 OLED TouchScreen
#> 4 CapacityButton TouchScreen
#> 5 HeartRateSensor TouchScreen
#> 6 BLEv42 TouchScreen