View source: R/Functions_Supporting.R
shorten_run_names | R Documentation |
Full names of rSFSW2 simulation runs are composed of three parts
a run number
experimental treatment
site label
and concatenated by "_" as separator, for instance, "001_Default_SiteA", "002_Default_SiteB", etc.
shorten_run_names(run_names, element_sep = "_", N_discard = 2)
run_names |
A vector of character strings. |
element_sep |
A character value. The separating character. |
N_discard |
An integer value. The number of elements separated by
|
It may be desirable to shorten the full names in cases where only none/one experimental treatment was used, for instance, SiteA", "SiteB", etc.
shorten_run_names(c("001_Default_SiteA", "002_Default_SiteB"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.