trini_communities: Read the 'trini_communities' dataset

View source: R/trini_communities.R

trini_communitiesR Documentation

Read the trini_communities dataset

Description

Reads the trini_communities dataset, a set of invertebrate community samples from 17 Trinidadian bromeliads (from @Rogy2024). It is provided as a toy dataset to try out the package, alongside bromeliad_inverts_measurements(). Each taxon also carries a set of discrete (fuzzy) trait columns, matched from a trait database (@Cereghino2018), that can be returned with traits = TRUE to illustrate the trait-based grouping functions.

Usage

trini_communities(traits = FALSE)

Arguments

traits

Logical; if TRUE, the returned tibble includes the fuzzy trait columns. If FALSE (the default), only the taxonomy, abundance, bromeliad ID and stage columns are returned.

Value

A tibble with one row per taxon per bromeliad, with columns for taxonomy, abundance, and bromeliad ID, and, when traits = TRUE, a set of discrete (fuzzy) trait columns.

Examples

# The communities the package ships with
trini_communities()

# The same, with the fuzzy trait columns
trini_communities(traits = TRUE)

hellometry documentation built on Nov. 11, 2026, 5:06 p.m.