Skip to contents

Get a taxon summary of a datelifeResult object.

Usage

get_taxon_summary(datelife_result = NULL, datelife_query = NULL)

Arguments

datelife_result

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

datelife_query

A datelifeQuery object, usually an output of make_datelife_query().

Value

A datelifeTaxonSummary object, which is a list of 4 elements:

$matrix

Data as a presence/absence matrix of taxon names across chronograms.

$summary

A data.frame with taxon names as row.names() and two columns, one with the number of chronograms that contain a taxon name and the other one with the total number of chronograms that have at least 2 taxon names.

$summary2

A data.frame with chronogram citations as row.names() and two columns, one with the number of taxon names found in each chronogram and the other one with the total number of taxon names.

$absent_taxa

A character vector of taxon names that are not found in the chronogram database.