Skip to contents

Get time of MRCA from patristic matrix. Used in datelife_result_MRCA().

Usage

patristic_matrix_MRCA(patristic_matrix, na_rm = TRUE)

Arguments

patristic_matrix

A patristic matrix (aka a datelifeResult object of length 1)

na_rm

If TRUE, it drops rows containing NAs from the datelifeResult patristic matrix; if FALSE, it returns NA where there are missing entries.

Value

The depth of the MRCA as a numeric vector.