create_log_filenames: Creates the filenames of the log files

Description Usage Arguments Examples

Description

Creates the filenames of the log files

Usage

1
create_log_filenames(rda_filename, nstpist, napst, nppa)

Arguments

rda_filename

Name of the RDa file containing a WIRITTTES data file

nstpist

Number of Species Trees Per Incipient Species Tree

napst

Number of Alignments per Species Tree

nppa

Number of Posteriors per Alignment

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
  rda_filename <- "test.RDa"
  log_filenames <- wiritttea::create_log_filenames(rda_filename, 2, 2, 2)
  testit::assert(log_filenames[1] == "test_1_1_1.log")
  testit::assert(log_filenames[2] == "test_1_1_2.log")
  testit::assert(log_filenames[3] == "test_1_2_1.log")
  testit::assert(log_filenames[4] == "test_1_2_2.log")
  testit::assert(log_filenames[5] == "test_2_1_1.log")
  testit::assert(log_filenames[6] == "test_2_1_2.log")
  testit::assert(log_filenames[7] == "test_2_2_1.log")
  testit::assert(log_filenames[8] == "test_2_2_2.log")

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