patristic_matrix_pad {datelife} | R Documentation |
Fill in empty cells in a patristic matrix for missing taxa.
Description
Used in: patristic_matrix_list_to_array()
.
Usage
patristic_matrix_pad(patristic_matrix, all_taxa)
Arguments
patristic_matrix |
A patristic matrix, |
all_taxa |
A vector of names of all taxa you want, including ones not in the patristic matrix. |
Value
A patristic matrix, with NA
for entries between taxa
where at least one was not in the original patristic matrix.
[Package datelife version 0.6.8 Index]