collect_files_n_posteriors: Collects the number of posteriors of all phylogenies...

Description Usage Arguments Value Examples

Description

Collects the number of posteriors 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 with all number of sampled posteriors of all files

Examples

1
2
3
4
5
6
7
8
 filenames <- c(
   find_path("toy_example_1.RDa"),
   find_path("toy_example_3.RDa")
 )
 df <- collect_files_n_posteriors(filenames)
 testit::assert(names(df) == c("filename", "n_posteriors"))
 testit::assert(nrow(df) == length(filenames))
 testit::assert(df$n_posteriors == c(2, 8))

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