Learn R Programming

ggphylo (version 0.1)

tree.scale.by: Scales the tree by a given multiplicative factor.

Description

Scales the tree by a given multiplicative factor.

Usage

tree.scale.by(phylo, factor)

Arguments

phylo
input phylo object
factor
numeric, the factor to scale all branch lengths by

Value

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