Read a whole history: one run of Strong4VM per version of a model.
Usage
vp_read_history(prefixes, versions = NULL, ...)
Arguments
- prefixes
The prefixes of the runs, oldest first.
- versions
Names for the versions (by default, the names of the runs).
Keep them in order: the functions of evolution.R compare each version with
the one before it.
- ...
Passed to vp_read(), e.g. artificial = "drop".
Value
A tibble with one row per version: version (a factor that keeps the
order) and model (a list column).
See also
Other reading:
vp_classify(),
vp_example(),
vp_expand(),
vp_features(),
vp_functions(),
vp_generate(),
vp_history(),
vp_igraph(),
vp_links(),
vp_minimal(),
vp_read(),
vp_read_uvl_tree(),
vp_representativeness(),
vp_subset()
Examples
gens <- c("miband1", "miband2", "miband3")
prefixes <- vapply(
vp_example(paste0(gens, "_realized.uvl")),
vp_generate,
"",
read = FALSE
)
vp_read_history(prefixes, versions = gens)
#> # A tibble: 3 × 2
#> version model
#> <fct> <named list>
#> 1 miband1 <vp_model>
#> 2 miband2 <vp_model>
#> 3 miband3 <vp_model>