Description Usage Arguments Value

View source: R/datelife_internal.R

Function to fill in empty cells in a patristic matrix for missing taxa. Used in: patristic_matrix_list_to_array.

1 | ```
patristic_matrix_pad(patristic_matrix, all_taxa)
``` |

`patristic_matrix` |
A patristic matrix with row and column names for taxa |

`all_taxa` |
A vector of the names of all taxa you want, including ones not in the patristic matrix |

patristic_matrix for all_taxa, with NA for entries between taxa where at least one was not in the original patristic_matrix

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.