Description Usage Arguments Value Examples
Collects the nLTTs of all phylogenies belonging to a parameter file in the melted/uncast/long form
1 | collect_file_nltts(filename, dt = 0.001)
|
filename |
name of the parameter file |
dt |
the resolution of the nLTT plot, must be in range <0,1>, default is 0.001 |
A dataframe of gamma statistics of each phylogeny in time
1 2 3 4 5 6 7 8 9 | dt <- 0.1
filename <- find_path("toy_example_3.RDa")
df <- collect_file_nltts(filename)
testit::assert(names(df) == c("species_tree_nltts", "posterior_nltts"))
testit::assert(names(df$species_tree_nltts)
== c("sti", "t", "nltt")
)
testit::assert(nrow(df$species_tree_nltts) > 2)
testit::assert(nrow(df$posterior_nltts) == 80)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.