Description Usage Arguments Value Examples
Collects the tree crown_ages of all phylogenies belonging to a multiple parameter file in the melted/uncast/long form
1 | collect_files_pstr_crown_ages(filenames, verbose = FALSE)
|
filenames |
names of the parameter file |
verbose |
shows progress if TRUE |
A data frame with filename, sti, ai, pi, si, crown_age
1 2 3 4 5 6 7 8 9 10 | filenames <- wiritttea::find_paths(
c("toy_example_1.RDa", "toy_example_2.RDa",
"toy_example_3.RDa", "toy_example_4.RDa")
)
df <- wiritttea::collect_files_pstr_crown_ages(filenames)
testthat::expect_equal(
names(df),
c("filename", "sti", "ai", "pi", "si", "crown_age")
)
testthat::expect_true(nrow(df) == 220)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.