Growth laws: how fast each kind of link grows with the number of features. A straight line is fitted to log(links) against log(features); its slope is 1 when links grow in step with features, above 1 when faster. Versions with no features, or with none of the links of a kind, are left out of that kind (log(0) does not exist).
Arguments
- history
A history: the versions of a model, from
vp_read_history()orvp_history(), oldest first.
Value
A tibble with links (the kind), slope and r_squared (how well a
straight line fits; 1 is perfect); both NA for a kind with fewer than three
versions left.
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_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
gens <- c("miband1", "miband2", "miband3", "miband4", "miband6")
history <- vp_history(
vp_example(paste0(gens, "_realized.uvl")),
versions = gens,
or_graph = TRUE
)
vp_growth(history)
#> # A tibble: 4 × 3
#> links slope r_squared
#> <chr> <dbl> <dbl>
#> 1 requires 2.64 0.921
#> 2 excludes 3.23 0.997
#> 3 skeleton 1.12 0.956
#> 4 primitive_conflicts 0.714 0.758