collect_files_posterior_nltts: Collects the nLTT statistics of all phylogenies belonging to...

Description Usage Arguments Value Examples

Description

Collects the nLTT statistics of all phylogenies belonging to a multiple parameter file in the melted/uncast/long form

Usage

1

Arguments

filenames

names of the parameter file

Value

A dataframe of nLTTs

Examples

 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)

richelbilderbeek/wiritttea documentation built on May 27, 2019, 8:02 a.m.