ultm: Convert a phylo object to an inverse distance matrix that...

Description Usage Arguments Examples

View source: R/ultm.R

Description

Convert a phylo object to an inverse distance matrix that MCMCglmm understands

Usage

1
ultm(tree, MPL = FALSE, inverseA = TRUE)

Arguments

tree

tree of class phylo

MPL

logical, should the function compute the mean path length?

inverseA

logical, should the inverse matrix be computed?

Examples

1
2
tree <- ape::read.tree("./tree.newick") # newick format
ultm(tree, MPL = FALSE, inverseA = TRUE)

Euphrasiologist/VCVglmm documentation built on June 4, 2020, 7:08 p.m.