Package: TraitEnvMLMWA Title: Weighted Averaging (WA) and Multi-Level Methods (MLM) for Trait-Environment Association in Functional and Community Ecology Version: 0.9001 Authors@R: person("Cajo", "ter Braak", email = "Cajo.terBraak@wur.nl", role = c("aut", "cre")) Description: This package grew out of the paper New robust weighted averaging- and model-based methods for assessing trait-environment relationships (Methods in Ecology and Evolution). The model-based methods are GLMMs, here called multi-level models (MLM), of which the novel MLM3 outperforms all existing methods. MLM3 has up to 30% more power, but the WA-methods are 500 times faster than MLM3. The main function for WA-methods is CWMSNC_regressions. The main functions for MLM3 are make_obj_for_traitenv, expand4glmm and MLM3_p_max. Depends: R (>= 3.5.0) License: GPL-3 | file LICENSE Encoding: UTF-8 LazyData: true RoxygenNote: 7.2.3 NeedsCompilation: no Imports: lme4, glmmTMB, ggplot2, dplyr, permute, stats Suggests: ade4, boot Packaged: 2026-06-16 10:46:41 UTC; root Author: Cajo ter Braak [aut, cre] Maintainer: Cajo ter Braak Config/pak/sysreqs: cmake make libicu-dev Repository: https://cajoterbraak.r-universe.dev Date/Publication: 2022-12-29 12:25:29 UTC RemoteUrl: https://github.com/CajoterBraak/TraitEnvMLMWA RemoteRef: HEAD RemoteSha: 02216b3097078d0644c72aa656453f20c4fbf400