How many features have each degree in one graph: the data of a degree-distribution plot.
Arguments
- model
A model, from
vp_generate()orvp_read(), in its complete or its minimal form.- graph
"requires", "excludes", "atleastone" or "skeleton".
- direction
For requires and skeleton: "in" (how many require the feature) or "out" (how many it requires).
See also
Other whole model:
vp_check(),
vp_gini(),
vp_summary()
Examples
band <- vp_generate(vp_example("miband3.uvl"), or_graph = TRUE)
vp_degree_distribution(band, "requires", "in")
#> # A tibble: 6 × 2
#> degree features
#> <int> <int>
#> 1 0 2
#> 2 1 3
#> 3 2 1
#> 4 3 1
#> 5 4 1
#> 6 8 3