Package: tidyttmoment
Title: Functional Trait Moment Calculation
Version: 0.0.5
Depends: R (>= 4.1.0)
Authors@R: c(
    person("Paul Efren", "Santos Andrade", , "paulefrens@gmail.com", role = c("aut", "cre"),
           comment = c(ORCID = "0000-0002-6635-0375")),
    person("Macroecology Lab", role = c("cph", "fnd"))
           )
Description: 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.
License: MIT + file LICENSE
Suggests: covr, testthat (>= 3.1.5)
Config/testthat/edition: 3
Encoding: UTF-8
RoxygenNote: 7.3.3
URL: https://github.com/PaulESantos/tidyttmoment,
        https://paulesantos.github.io/tidyttmoment/
BugReports: https://github.com/PaulESantos/tidyttmoment/issues
Imports: cli, dplyr, lifecycle, tidyr, fundiversity, funrar, rlang,
        tibble
NeedsCompilation: no
Packaged: 2026-03-19 04:11:25 UTC; PC
Author: Paul Efren Santos Andrade [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-6635-0375>),
  Macroecology Lab [cph, fnd]
Maintainer: Paul Efren Santos Andrade <paulefrens@gmail.com>
Repository: CRAN
Date/Publication: 2026-03-23 17:20:02 UTC
Built: R 4.6.0; ; 2026-04-25 13:29:01 UTC; unix
