Skip to contents

Get a numeric vector of MRCAs from a datelifeResult object. Used in summarize_datelife_result().

Usage

datelife_result_MRCA(datelife_result, na_rm = TRUE)

Arguments

datelife_result

A datelifeResult object, usually an output of get_datelife_result().

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

A named numeric vector of MRCA ages for each element given in datelife_result.