Sample trees from a file containing multiple trees. Usually from a bayesian analysis output trees file.
Source:R/uncertainty.R
sample_trees.Rd
Sample trees from a file containing multiple trees. Usually from a bayesian analysis output trees file.
Arguments
- trees_file
A character vector indicating the name and directory of file with trees to sample.
- trees_object
An R object containing a list of trees already read into R from a tree file from a bayesian analysis output.
- burnin
A numeric vector indicating the burnin fraction. It should be a number between 0 and 1. Default to 0.25
- size
A numeric vector indicating the number of samples to be generated.