aggregate_taxa: Aggregate family, genus, and species columns of 'tbl_df" into...

View source: R/load.R

aggregate_taxaR 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


allometric documentation built on Nov. 8, 2023, 1:07 a.m.