A more friendly version of status()
for vector valued nm objects. Useful
after bootstraps, or stepwise covariate method steps, or any situation
dealing with groups of NONMEM runs.
status_table(m)
An nm object.
A tibble
object.
# 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"))
c(m1, m1) %>% status_table() ## both not started
#> # A tibble: 4 × 2
#> . n
#> <chr> <int>
#> 1 finished 0
#> 2 error 0
#> 3 running 0
#> 4 not_started 2