tidyttmoment: Functional Trait Moment Calculation

Calculates the community four 'moments' (mean, variance, skewness, and kurtosis) of a given trait based on the moments described in Wieczynski et al. (2019) <doi:10.1073/pnas.1813723116>. These functional metrics are extremely useful in characterizing the distribution of traits in a plant community. It also provides tidyverse-friendly wrappers to seamlessly calculate advanced functional diversity indices (e.g., FDis, Rao's Q) using 'fundiversity' (Grenie et al. 2023 <doi:10.1111/ecog.06585>) and functional rarity indices using 'funrar' (Grenie et al. 2017 <doi:10.1111/ddi.12629>). Evaluating these community-weighted moments and diversity metrics allows researchers to evaluate shifts in optimal phenotypes and understand ecological filtering with exactness.

Version: 0.0.5
Depends: R (≥ 4.1.0)
Imports: cli, dplyr, lifecycle, tidyr, fundiversity, funrar, rlang, tibble
Suggests: covr, testthat (≥ 3.1.5)
Published: 2026-03-23
DOI: 10.32614/CRAN.package.tidyttmoment (may not be active yet)
Author: Paul Efren Santos Andrade ORCID iD [aut, cre], Macroecology Lab [cph, fnd]
Maintainer: Paul Efren Santos Andrade <paulefrens at gmail.com>
BugReports: https://github.com/PaulESantos/tidyttmoment/issues
License: MIT + file LICENSE
URL: https://github.com/PaulESantos/tidyttmoment, https://paulesantos.github.io/tidyttmoment/
NeedsCompilation: no
Materials: README
CRAN checks: tidyttmoment results

Documentation:

Reference manual: tidyttmoment.html , tidyttmoment.pdf

Downloads:

Package source: tidyttmoment_0.0.5.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=tidyttmoment to link to this page.