datelife_result_MRCA: Get a numeric vector of MRCAs from a 'datelifeResult' object....

View source: R/summary.R

datelife_result_MRCAR Documentation

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

Description

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.


phylotastic/datelife documentation built on June 9, 2024, 6:50 p.m.