make.matrix: Function to recreate the upper triangular matrix

View source: R/make.matrix.R

make.matrixR Documentation

Function to recreate the upper triangular matrix

Description

Function to recreate the upper triangular matrix

Usage

make.matrix(D, n, tips)

Arguments

D

the tropical interpretation of a tree as a vector

n

a numeric value indicating the the number of leaves of the tree

tips

a vector of leaf names

Value

A cophenetic distance matrix, where each entry is the distance between any two leaves of the tree


HoujieWang/Rtropical documentation built on May 18, 2022, 11:56 a.m.