Features with more links to another team than to their own
Source:R/configuration.R
vp_team_moves.RdFeatures that sit better in another team: those with more links to some other team than to their own. Moving one removes links between teams (its links to the other team become inside links, those to its own team become outside links). A candidate for a person to judge: who knows the feature matters more than where its links go.
Arguments
- model
A model, from
vp_generate()orvp_read(), in its complete or its minimal form.- teams
The team of each feature: a tibble with the columns
featureandteam, or a named character vector (feature = team).
Value
A tibble with feature, team, links_own (links to features of
its own team), better_team and links_better; the largest gains first.
Examples
band <- vp_generate(vp_example("miband3.uvl"), or_graph = TRUE)
teams <- c(
Screen = "display",
TouchScreen = "display",
OLED = "display",
CapacityButton = "display",
ContactlessPayment = "payments",
NFC = "payments",
MovementFilter = "sensors",
HeartRateSensor = "sensors",
BLEv40 = "radio",
BLEv42 = "radio",
BT40 = "radio"
)
vp_team_moves(band, teams)
#> # A tibble: 7 × 5
#> feature team links_own better_team links_better
#> <chr> <chr> <int> <chr> <int>
#> 1 BT40 radio 2 display 7
#> 2 MovementFilter sensors 1 display 4
#> 3 BLEv40 radio 2 display 4
#> 4 BLEv42 radio 2 display 4
#> 5 ContactlessPayment payments 2 display 4
#> 6 NFC payments 2 display 4
#> 7 HeartRateSensor sensors 1 payments 2