diffFlagsStepwise | R Documentation |
Show differences in flag settings between stepwise model runs.
diffFlagsStepwise(
stepdir,
models = dir(stepdir, full.names = TRUE),
labels = basename(models),
quiet = FALSE,
...
)
stepdir |
directory containing model runs in subdirectories. |
models |
optional vector of directory names to manually specify stepwise models to compare. |
labels |
optional vector of short labels to describe the stepwise models. |
quiet |
whether to suppress the on-screen reporting of reading files. |
... |
passed to |
Generally, the user only needs to specify stepdir
. If this top
directory contains stepwise model runs as subdirectories, then the default
values of models
and labels
will infer the correct paths and
model names.
If the stepwise model runs are not organized in a straightforward way, the
models
and labels
arguments can be passed explicitly.
A list of data frames showing differences in flag settings between stepwise model runs.
diffFlags
shows differences in flag settings between two model
runs.
read.MFCLFlags
reads flag settings from a par
file.
## Not run:
yft_dir <- "//penguin//assessments/yft/2020_review/analysis/stepwise"
yft_diffs <- diffFlagsStepwise(yft_dir)
lapply(yft_diffs, nrow) # show number of flags changed in each step
lapply(yft_diffs, head) # peek at the first 6 flags changes in each step
# Unusual directory structure of BET 2020 stepwise models
bet_dir <- "//penguin/assessments/bet/2020/2020_stepwise"
bet_models <- file.path(dir(bet_dir, full.names=TRUE), "10N")
bet_labels <- dir(bet_dir)
bet_diffs <- diffFlagsStepwise(bet_dir, bet_models, bet_labels)
lapply(bet_diffs, nrow)
lapply(bet_diffs, head)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.