The features whose links changed most between two versions: where to start explaining a big change.
Usage
vp_top_movers(
old,
new,
graph = c("requires", "excludes", "atleastone"),
n = 10
)Arguments
- old
The older version of a model (from
vp_generate()orvp_read()).- new
The newer version of the same model.
- graph
Which graph:
"requires","excludes"or"atleastone"(the last one needsor_graph = TRUEinvp_generate()).- n
How many rows to return.
See also
Other evolution:
vp_attachment(),
vp_auc(),
vp_changed_links(),
vp_co_change(),
vp_community_history(),
vp_compare(),
vp_disruptions(),
vp_edit_type(),
vp_eras(),
vp_feature_churn(),
vp_feature_states(),
vp_flip_flops(),
vp_forecast_size(),
vp_growth(),
vp_history_apply(),
vp_history_changes(),
vp_history_sizes(),
vp_hub_stability(),
vp_interaction_changes(),
vp_life_cycle(),
vp_link_lifetime(),
vp_prediction_table(),
vp_rename(),
vp_rename_candidates(),
vp_ripple(),
vp_state_moves(),
vp_version_distance()
Examples
old <- vp_generate(vp_example("miband3_planned.uvl"), or_graph = TRUE)
new <- vp_generate(vp_example("miband3_realized.uvl"), or_graph = TRUE)
vp_top_movers(old, new, "excludes", n = 5)
#> # A tibble: 5 × 4
#> feature gained lost total
#> <chr> <int> <int> <int>
#> 1 BT40 5 0 5
#> 2 MovementFilter 3 0 3
#> 3 BLEv42 1 0 1
#> 4 CapacityButton 1 0 1
#> 5 HeartRateSensor 1 0 1