meanheight {genealogy}R Documentation

Calculate the pairwise mean height of a tree.

Description

Calculates the pairwise mean height of a tree.

Usage

meanheight(tr)

Arguments

tr A tree object

Value

Returns the mean height of a tree.

Author(s)

Ian Wilson <I.Wilson@maths.abdn.ac.uk>

Examples

tr <- coal1(1000);
meanheight(tr);

[Package genealogy version 0.01 Index]