Learn R Programming

ggphylo (version 0.1)

tree.scale.to: Scales the tree to a given total branch length.

Description

Scales the tree to a given total branch length.

Usage

tree.scale.to(phylo, total.length)

Arguments

phylo
input phylo object
factor
numeric, the desired total branch length of the tree

Value

phylo, a new phylo object scaled by the required amount.