Skip to contents

The features joined to a given feature in the at-least-one graph: leaving it out forces all of them in.

Usage

vp_atleastone_of(model, feature)

Arguments

model

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

feature

The name of a variable feature of the model.

Value

A tibble with the column feature.

Examples

band <- vp_generate(vp_example("miband3.uvl"), or_graph = TRUE)
vp_atleastone_of(band, "BT40")
#> # A tibble: 3 × 1
#>   feature       
#>   <chr>         
#> 1 Screen        
#> 2 OLED          
#> 3 CapacityButton