summarize_summary_matrix {datelife}R Documentation

Gets all ages per taxon pair from a distance matrix Internal function used in summary_matrix_to_phylo_all().

Description

Gets all ages per taxon pair from a distance matrix Internal function used in summary_matrix_to_phylo_all().

Usage

summarize_summary_matrix(summ_matrix)

Arguments

summ_matrix

Any summary patristic distance matrix, such as the ones obtained with datelife_result_sdm_matrix() or datelife_result_median_matrix().

Value

A data.frame of pairwise ages, with row number equal to the combinatory of column names (or row names), estimated as ncol(summ_matrix)^2 - sum(1:(ncol(summ_matrix)-1)).


[Package datelife version 0.6.8 Index]