aggregate_taxa {allometric}R Documentation

Aggregate family, genus, and species columns of 'tbl_df“ into taxa data structure

Description

This function facilitates aggregating family, genus, and species columns into the taxa data structure, which is a nested list composed of multiple "taxons". A taxon is a list containing family, genus, and species fields.

Usage

aggregate_taxa(table, remove_taxa_cols = TRUE)

Arguments

table

The table for which the taxa will be aggregated

remove_taxa_cols

Whether or not to remove the family, genus, and species columns after aggregation

Value

A tibble with family, genus, and species columns added


[Package allometric version 2.1.0 Index]