Skip to contents

Independent parts: groups of features that no relationship ties to the rest (connected pieces of the three graphs taken together). As far as relationships between two features go, each part can be configured, and tested, on its own: a choice in one part never forces or forbids anything in another.

Usage

vp_independent_parts(model)

Arguments

model

A model, from vp_generate() or vp_read(), in its complete or its minimal form.

Value

A tibble with part, size and feature, the largest parts first (a feature in no graph is a part alone).

Examples

band <- vp_generate(vp_example("miband3.uvl"), or_graph = TRUE)
vp_independent_parts(band)
#> # A tibble: 11 × 3
#>     part  size feature           
#>    <int> <int> <chr>             
#>  1     1    11 Screen            
#>  2     1    11 TouchScreen       
#>  3     1    11 OLED              
#>  4     1    11 CapacityButton    
#>  5     1    11 ContactlessPayment
#>  6     1    11 MovementFilter    
#>  7     1    11 HeartRateSensor   
#>  8     1    11 BLEv40            
#>  9     1    11 BLEv42            
#> 10     1    11 BT40              
#> 11     1    11 NFC