What changed between two versions: one row per graph, as the command
strong4vm diff reports it.
Arguments
- old
The older version of a model (from
vp_generate()orvp_read()).- new
The newer version of the same model.
Value
A tibble with graph, kept, added, removed (variable
features), old_links and new_links (among the kept features), gained,
lost, jaccard (links in both / links in either; 1 when nothing changed)
and spearman (for requires: how alike the order of the kept features by
in-degree is; NA for the others).
See also
Other evolution:
vp_attachment(),
vp_auc(),
vp_changed_links(),
vp_co_change(),
vp_community_history(),
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_top_movers(),
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_compare(old, new)
#> # A tibble: 3 × 10
#> graph kept added removed old_links new_links gained lost jaccard spearman
#> <chr> <int> <int> <int> <int> <int> <int> <int> <dbl> <dbl>
#> 1 requires 11 0 0 10 21 11 0 0.476 0.867
#> 2 excludes 11 0 0 3 10 7 0 0.3 NA
#> 3 atleast… 11 0 0 0 3 3 0 0 NA