GetFraction: Get fraction of phylogenetic trees

View source: R/Recline.R

GetFractionR Documentation

Get fraction of phylogenetic trees

Description

Perform burn-in and get random sapmle inside set of trees.

Usage

GetFraction(trees, burnin = 20, sample = 100)

Arguments

trees

a "multiPhylo" object with multiple trees.

burnin

the percentage of starting trees to discard.

sample

a number of trees to sample randomly after burn-in.

Value

a "multiPhylo" object with new trees selection.

Examples

# get random 100 trees after discarding first 20%
forest.sample <- GetFraction(forest)

dissipative/recline documentation built on March 22, 2023, 8:57 p.m.