Skip to contents

The features of a model and their status: "variable" (a real choice), "core" (in every product) or "dead" (in none). Only the variable features are nodes of the graphs.

Usage

vp_features(model)

Arguments

model

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

Value

A tibble with the columns feature and status.

Examples

band <- vp_generate(vp_example("miband3.uvl"), or_graph = TRUE)
vp_features(band)
#> # A tibble: 19 × 2
#>    feature            status  
#>    <chr>              <chr>   
#>  1 Screen             variable
#>  2 TouchScreen        variable
#>  3 OLED               variable
#>  4 CapacityButton     variable
#>  5 ContactlessPayment variable
#>  6 MovementFilter     variable
#>  7 HeartRateSensor    variable
#>  8 BLEv40             variable
#>  9 BLEv42             variable
#> 10 BT40               variable
#> 11 NFC                variable
#> 12 FitnessMonitor     core    
#> 13 SleepTracker       core    
#> 14 VibrateAlert       core    
#> 15 Call               core    
#> 16 Notification       core    
#> 17 Pedometer          core    
#> 18 Accelerometer      core    
#> 19 Bluetooth          core