Description Usage Arguments Value Examples
Collects the nLTT statistics of all phylogenies belonging to a multiple parameter file in the melted/uncast/long form
1 | collect_files_posterior_nltts(filenames)
|
filenames |
names of the parameter file |
A dataframe of nLTTs
1 2 3 4 5 6 7 8 9 10 11 12 | 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_posterior_nltts(filenames)
testit::assert(
dplyr::all_equal(
names(df),
c("filename", "sti", "ai", "pi", "si", "nltt")
)
)
testthat::expect_true(nrow(df) == 200)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.