count_trees_in_file: Count the number of trees in a '.trees' file

View source: R/count_trees_in_file.R

count_trees_in_fileR Documentation

Count the number of trees in a .trees file

Description

Count the number of trees in a .trees file

Usage

count_trees_in_file(trees_filename)

Arguments

trees_filename

name of a BEAST2 posterior .trees file, as can be read using parse_beast_trees

Value

the number of trees

Author(s)

Richèl J.C. Bilderbeek

See Also

if the .trees file is invalid, use is_trees_file with verbose = TRUE for the reason


tracerer documentation built on Sept. 27, 2023, 5:09 p.m.