nm_list_gather | R Documentation |
Get all nm objects in an environment. By default this is the global workspace.
nm_list_gather(x = .GlobalEnv, max_length = 1)
x |
An environment (default = |
max_length |
Exclude objects with length above this. |
A single nm_list
object with all model objects in environment x
.
# create example object m1 from package demo files exdir <- system.file("extdata", "examples", "theopp", package = "NMproject") m1 <- new_nm(run_id = "m1", based_on = file.path(exdir, "Models", "ADVAN2.mod"), data_path = file.path(exdir, "SourceData", "THEOPP.csv")) m2 <- m1 %>% child("m2") m_all <- nm_list_gather() identical( m_all %>% subset(run_id(m_all) %in% "m1"), m1 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.