View source: R/optim.phylo.ls.R
phyloDesign | R Documentation |
Primarily an internal function for optim.phylo.ls
, this function creates a design matrix for least squares phylogenetic analysis.
phyloDesign(tree)
tree |
phylogenetic tree. |
This function returns a matrix containing the edges in the tree (in columns) and pairs of tip node numbers (in rows). Values in the matrix are either 1
if the edge is on the shortest path between the two tips; and 0
otherwise. Probably do not use unless you know what you're doing.
A matrix.
Liam Revell liam.revell@umb.edu
Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.