Skip to main content
UKPMC Funders Author Manuscripts logoLink to UKPMC Funders Author Manuscripts
. Author manuscript; available in PMC: 2026 Sep 1.
Published in final edited form as: J Veg Sci. 2026 Aug 21;37(4):jvs.70169. doi: 10.1111/jvs.70169

Spatial Regulation of Trait–Environment Interactions Shapes Plant Community Functional Patterns in a Tropical Forest

Rajapandian Kanagaraj 1,2,✉, Warren Y Brockelman 3,4, Thorsten Wiegand 2,5, Anuttara Nathalang 3, Jie Yang 6, Nitin K Tripathi 7, Wirong Chanthorn 1,✉
PMCID: PMC7619427  EMSID: EMS217624  PMID: 42677037

Abstract

Question

Inferring community assembly mechanisms requires an understanding of the responses of plant communities to environmental gradients and spatial processes. In a tropical forest, we asked: (1) What environmental gradients are associated with variation in community functional composition and diversity? (2) How does explicitly accounting for spatial structure influence inference about these environmental effects? and (3) To what extent can the observed trait–environment relationships be explained by environmentally structured species turnover (i.e., changes in species composition along environmental gradients)? Location: A 30-ha Mo Singto old-growth tropical forest dynamics plot in Khao Yai National Park, Thailand.

Methods

We applied a spatially explicit hierarchical Bayesian modeling (INLA-SPDE) framework to data from 135,000 woody plants, measuring eight functional traits and 24 environmental variables covering topography, soil nutrients, and canopy structure. The model estimates environmental effects while accounting for spatial autocorrelation in trait distributions. We further used null model tests to evaluate question (3).

Results

Spatially explicit models identified topographic water availability (TWI) as the main environmental gradient associated with community-level trait patterns, aligning functional composition along the trade-off between acquisitive and conservative resource-use strategies. Inferences for several environmental variables changed substantially after accounting for spatial auto-correlation. Null model analyses indicated that most trait–environment relationships in the Mo Singto forest plot were consistent with environmentally structured species turnover, with only limited evidence for additional trait–environment associations, as shown by tree height.

Conclusions

Our results indicate that when traits are represented at the species level, smaller-scale community-weighted mean (CWM) patterns are primarily explained by species replacement along environmental gradients. Our study also demonstrates that high-resolution, fully stem-mapped forest plots provide strong power to detect environmental signals and reveal spatially structured patterns in community functional composition. By combining spatially explicit models with null model inference, we show that robust interpretation of CWM trait–environment relationships requires jointly accounting for spatial structure and species turnover, which provides a clear framework for understanding how environmental gradients shape community functional patterns.

Keywords: community assembly, determinants of community functional traits, environmental filtering, INLA-SPDE approach, soil nutrients, spatial modeling, topographic water availability

1. Introduction

Ecologists have long been intrigued by the complex interplay between environmental factors and plant functional traits (Díaz and Cabido 2001). Plant trait combinations observed at the community level are expected to reflect the distinct ecological strategies of species to cope with abiotic and biotic factors (de Bello et al. 2021a). Local environmental factors such as soil nutrients, availability of light and water, and topography influence the structure and functional composition of plant communities (e.g., Possen et al. 2011; Katabuchi et al. 2012; Liu et al. 2014; Oddershede et al. 2015; Pinho et al. 2018; Salas-Morales et al. 2018; Wang et al. 2022). For example, water availability, which varies greatly on a fine scale, is an important local factor shaping plant functional patterns and community composition (Silvertown et al. 1999; Araya et al. 2011; Liu et al. 2014; Oddershede et al. 2015). Resource-rich fertile areas support species with a predominant resource acquisition strategy that enables them to capture resources quickly and achieve high growth rates. In contrast, species in nutrient-poor environments are expected to use more conservative resource-use strategies by increasing their competitive ability (Wright et al. 2004; Poorter and Bongers 2006; Reich 2014). One approach to relate traits to resource-use strategies is to upscale the traits of individual plants to local community functional composition, often measured using community-weighted mean (CWM) traits (Garnier et al. 2004) and functional dispersion (FDis; Laliberté and Legendre 2010), and to relate them to environmental gradients.

A high diversity of traits (i.e., high values of FDis) reflects greater variety of resource use and growth strategies in the community, which can facilitate species coexistence and influence ecosystem functioning, such as productivity (Bialic-Murphy et al. 2024). According to the resource capture hypothesis, differences in functional traits among organisms that facilitate complementarity, such as niche partitioning or positive species interactions, lead to more effective acquisition of available resources (Cardinale et al. 2012). In tropical dry forests, topographic variation in water availability, reflected in soil moisture and wetness measures (Sørensen et al. 2006), can promote species diversity through niche differentiation (Balvanera et al. 2011; Punchi-Manage et al. 2013; Salazar Villegas et al. 2023). We expect that tree species adapt to available resources, such as water, light, and nutrients by employing distinct life history strategies which should be mirrored by the community functional composition.

However, revealing the relationships between species traits and environmental variability is complicated by a number of effects caused by species composition that may lead to Type I error (Pillar and Duarte 2010; Peres-Neto et al. 2017; Zelený 2018; Duarte et al. 2018; Lepš and de Bello 2023). First, plants in close proximity may share similar trait values, not only due to environmental filtering, but also because of dispersal limitation (Hubbell 2001) or regional abundance patterns. This results in trait values being more similar among nearby individuals than among those farther apart, leading to spatial autocorrelation in CWMs and low β-diversity (Zelený 2018). More generally, spatial patterns in plant distributions arise from a combination of environmental heterogeneity and biotic factors such as species interactions (competition, predation, and mutualism), dispersal limitations, and local adaptations (Seidler and Plotkin 2006; McFadden et al. 2019). Consequently, these processes contribute to spatial patterns in the distribution of plant traits. We therefore use the term “spatially structured processes” as an operational umbrella for processes that generate spatial dependence in trait distributions, including unmeasured environmental variation, dispersal limitation, species interactions, and historical factors. Models that ignore spatial processes may overlook important drivers of plant distribution across scales (Dirnböck and Dullinger 2004), and failing to account for spatial structure can inflate the statistical significance of environmental variables (Kühn 2007).

Second, because CWMs are calculated from species abundances and fixed species-level trait values, environmental gradients can influence community-level trait patterns indirectly through their effects on species composition (Peres-Neto et al. 2017; Zelený 2018). If environmental heterogeneity leads to variation in species occurrences and abundances across sites, apparent trait–environment relationships may emerge as a consequence of species replacement rather than from direct effects of the environment on trait values. As a result, significant relationships between CWMs and environmental variables can arise even when species traits are randomly assigned to species (Zelený 2018). We therefore use the term “environmentally structured species turnover” to refer to this pathway. Thus, community functional patterns along environmental gradients may arise through multiple, nonexclusive processes, where observed trait–environment relationships can reflect either species turnover or additional trait–environment associations beyond compositional change (Kraft et al. 2008; Lepš et al. 2011; Swenson et al. 2012; Peres-Neto et al. 2017; Zelený 2018). Distinguishing these alternatives is essential for correctly interpreting trait–environment relationships, particularly in spatially structured systems where residual spatial autocorrelation can obscure underlying environmental signals.

Third, when one or a few dominant species change their abundance within a plot, their trait values can strongly influence the observed variation in CWMs, even if the traits themselves are not causally related to environmental variation (Lepš and de Bello 2023). The latter two issues, which arise from the dependence of CWMs on species composition, can be addressed using null model approaches that evaluate whether observed trait–environment relationships exceed expectations based on species turnover alone (Peres-Neto et al. 2017; Zelený 2018; Duarte et al. 2018; Lepš and de Bello 2023), whereas spatial autocorrelation (issue one) is accounted for separately by using spatial models.

Studies examining spatial patterns and processes in community functional attributes, such as the CWM and FDis of traits, have employed methods such as the Mantel test (e.g., Pinho et al. 2018), autoregressive models (e.g., Liu et al. 2014), or mixed-effects models with discrete random effects (e.g., Aguirre-Gutiérrez et al. 2022). However, space is inherently continuous, especially at local scales, and recent statistical advances have allowed for a more flexible representation of spatial variation within a study area. The integrated nested Laplace approximation—stochastic partial differential equations (INLA-SPDE) approach (Rue et al. 2009; Lindgren and Rue 2015)—offers a sophisticated method for modeling continuous spatial fields within a Bayesian mixed-modeling framework. This approach improves upon traditional mixed modeling by providing more accurate estimates of standard errors and degrees of freedom, reducing the risk of inflated Type I error rates (Zuur et al. 2017), and facilitating the detection of true underlying spatial patterns or environmental effects.

The INLA-SPDE approach is particularly well suited for analyzing fine-scale spatial variation in community functional attributes in fully stem-mapped forest plots, where the spatial location of each tree above a certain size is recorded. Such high-resolution spatial data allow trait–environment relationships to be examined at spatial scales where ecological processes operate locally. This framework explicitly accounts for spatial autocorrelation in trait distributions while estimating the effects of measured environmental variables, aligning with the general rationale of partitioning environmental and spatial components by Borcard et al. (1992). However, unlike the spatial eigenfunction approaches (e.g., PCNM or MEM), the spatial dependence is modeled as a continuous spatial process, which allows spatial autocorrelation to be represented across multiple spatial scales. However, detecting spatial autocorrelation does not necessarily reveal the processes generating it (Diniz-Filho et al. 2012). When major environmental predictors are included in the model, the remaining spatial structure may reflect spatially structured processes that are not explicitly measured such as dispersal limitations, biotic interactions, historical legacies, or unmeasured environmental variation (McFadden et al. 2019). In this way, spatially explicit models provide a framework for identifying residual spatial patterns in trait distributions, while providing unbiased effects of measured environmental variables.

In this study, we combine spatially explicit INLA-SPDE modeling with null model testing to disentangle the contributions of environmental effects, spatially structured (biotic) processes, and species composition in shaping community functional composition. This framework allows us to distinguish between spatially structured patterns and environmentally driven variation while accounting for spatial autocorrelation. Using data from a fully stem-mapped 30-ha old-growth tropical forest dynamics plot in Thailand, we address three main questions: (1) What environmental gradients are associated with variation in community functional composition and diversity? (2) How does explicitly accounting for spatial structure influence inference about these environmental effects? and (3) To what extent can the observed trait–environment relationships be explained by environmentally structured species turnover, as opposed to direct trait–environment associations beyond species compositional change? We hypothesize that environmental gradients significantly structure community functional composition, but that these effects are partly confounded by spatial structure. We further hypothesize that most trait–environment relationships will arise from environmentally structured species turnover, and only a subset of traits should exhibit additional environmental associations beyond compositional change. By combining spatially explicit modeling with null model inference, our approach allows us to evaluate whether environmental effects identified in statistical models reflect species replacement or require additional trait–environment structure.

2. Materials and Methods

2.1. Study Plot and Trait Data

We conducted the study at a 30-ha (500 × 600 m) fully stem-mapped Mo Singto ForestGEO plot (Brockelman et al. 2017), located at 101°22′E 14°26′N in Khao Yai National Park, Thailand. The plot is located in an intact tropical seasonal evergreen forest at an altitude of 720–815 m above sea level, with an average annual precipitation of 2200 mm, an average temperature of 22.4°C (19.4°C–22.4°C), and a dry season of 4–6 months (Brockelman et al. 2017). Based on the ForestGEO standard protocol, the plot was divided into 20 m × 20 m quadrats and all trees with DBH ≥ 1 cm were tagged, mapped, identified to species level, and their DBH was measured. The tree census data used in this study were collected between 2015 and 2017, and details of the census are provided in the Supporting Information (Appendix S1).

Eight plant functional traits were used (Figures 1 and S1), including leaf area, specific leaf area, leaf thickness, leaf toughness, leaf dry matter content, leaf greenness, wood density, and maximal tree height. The methodology and protocol for gathering these trait data have been documented in detail by Pothasin et al. (2022) (see Appendix S3 for a summary). We performed a principal component analysis (PCA) on the standardized trait data. The significant axes were identified using Kaiser’s criterion (eigenvalues > 1). Traits were grouped by their contribution to these PCs (high/medium/low, based on the top, middle, and bottom 33% of the total contributions) and independently classified into functional groups based on the established leaf economics theory (Figure S1). The Leaf acquisitive dimension comprised leaf area (LA, cm2) and specific leaf area (SLA, cm2/g), whereas the leaf structural dimension included leaf thickness (LThick, mm), leaf toughness (LTough, newtons), and leaf dry matter content (LDMC, mg/g). The remaining traits were interpreted separately (others: leaf greenness measured by the SPAD chlorophyll meter (SPAD, unitless), wood density (WD, g/cm3), and maximal tree height (TH, m)).

Figure 1.

Figure 1

The distribution of community functional attributes, specifically the community-weighted mean (CWM) and functional dispersion (FDis), is presented at a spatial scale of 20 m × 20 m within an old-growth tropical forest in Thailand. For each 20-m subplot, the abundance-weighted mean trait value (CWM; Garnier et al. 2004) and functional dispersion (FDis; Laliberté and Legendre 2010) were computed. The dimensions of leaf acquisitiveness and leaf structure were identified using the principal component analysis (PCA) axes of all traits.

We divided our study plot into 20 m × 20 m subplots and calculated the abundance-weighted mean trait value (CWM; Garnier et al. 2004) and FDis (Laliberté and Legendre 2010) for each subplot. The CWM value of the ith subplot was calculated separately for each trait t as follows:

CWMi=∑j=1Spijtj

where tj is the trait value of species j, pij is the relative abundance of species j in subplot i, and S is the total number of species in the forest plot. FDis was based on the abundance-weighted mean trait value of all five functional trait dimensions (Figure S1), which together define a central point (centroid) in functional space. FDis is defined as the mean distance of individual species to the centroid (Laliberté and Legendre 2010; de Bello et al. 2021b). FDis showed low values if all species in the subplot showed similar trait values, for example, through abiotic or biotic filtering, whereas FDis showed high values if the species in the subplot had a greater dispersion in the trait space. Because some traits were highly skewed, the CWM of LA, SLA, and LThick was log-transformed to normalize their distributions.

2.2. Environmental Data

Environmental variables were determined within 20 m × 20 m quadrats and divided into three groups: soil nutrients, variables describing canopy structure and variation, and topography-derived variables. These variables are likely to cover all the major aspects of the local environment of the plot. Initially, we considered 24 environmental variables consisting of four topographic variables, 17 soil nutrients, two canopy cover variables, and solar radiation, but removed highly correlated variables (TEB, BS, Res.Inor.N, Al.sat, Mg, Hill shading, pH.H2O, Ca, K, and Al). The retained nutrient variables included the three elements Fe, Mn, and Na, extractable phosphorus (Bray.P), effective cation exchange capacity (ECEC), ammonium (NH4+), nitrate (NO3−), and phosphate (PO4), which were measured using the resin bag method. Variables describing canopy structure and its variation included the mean canopy height of those 1-m2 quadrats that showed a high above the median of the quadrat (P50), where high values indicated a subplot with taller trees. We used the coefficient of variation of the top canopy height at 5-m horizontal intervals (CV5m) as a measure of canopy structure heterogeneity. Finally, the topography-derived variables included slope, aspect (sin-transformed), topographic wetness index (TWI), and amount of incoming solar radiation (solar) (see Appendix S2 for further details and Figure S2 for the maps of the variables). In our plot, these variables were heterogeneous and formed patches, particularly soil nutrients, which can be categorized into Ultisol and Oxisol (Brockelman et al. 2017).

2.3. Construction of Hierarchical Candidate Models

We developed two candidate models to assess the impact of environmental factors and spatial structure on CWM and FDis. The first candidate model included all environmental variables (Model E). The environmental variables were standardized to have a mean of zero and a standard deviation of one. To address potential multicollinearity among the variables, we conducted a variance inflation factor (VIF) analysis, which resulted in the exclusion of 10 of the 24 variables with high VIF scores (VIF > 3) from further analysis. The influence of space on the distribution of CWM and FDis was then analyzed by adding a continuous spatial field as a random effect to candidate model E, resulting in the creation of a spatial candidate model (Model SE).

2.4. Model Framework and Fitting

We developed generalized linear models (GLMs) for the CWM and FDis under the assumption of a Gaussian error structure. Following our a priori candidate models (Models E and SE), we developed two Bayesian GLMs for CWM and FDis. The structure of our most complex model (SE) can be expressed as (Zuur et al. 2017):

CFA(communityfunctionalattribute)i~N(μi,σ2)E(CFAi)=μiandvar(CFAi)=σ2μi=α+β1(X1i)+β2(X2i)+…+βn(Xni)+uiui~GMRF(0,Σ)

where CFAi is the value of a functional attribute (CWM or FDis) at the 20-m subplot i, and Xni is the value of the nth environmental variable of subplot i. Thus, we assume that the CFAi values are normally distributed with mean μi and variance σ2. The mean μi was modeled as a function of the environmental variables Xni, intercept α, and term ui, which represents a continuous spatial field as a random effect. Finally, ui (i.e., f(Space) in Table 1) is a random intercept assumed to be spatially correlated following a Gaussian Markov random field (GMRF) with a mean of 0 and a covariance matrix Σ.

Table 1. Changes in evaluation metric scores among different generalized linear models applied to community functional attributes, specifically community-weighted mean (CWM) and functional dispersion (FDis), in an old-growth tropical forest in Thailand.

Community
functional
attributes
ΔDIC ΔWAIC Moran’s I
Non-spatial Spatial Non-spatial Spatial Non-spatial Spatial
Env(E) Env + f(Space)
(SE)
Env (E) Env + f(Space)
(SE)
Estimate p Estimate p
(A) Leaf acquisitive
   CWM.LA 178.6 0 170.4 0 0.232 < 0.001 −0.0991 1
   CWM.SLA 371.2 0 363.3 0 0.351 < 0.001 −0.1613 1
   FDiSACQ 254.5 0 241.5 0 0.274 < 0.001 −0.1486 1
(B) Leaf structure
   CWM.LThick 360.6 0 350.9 0 0.349 < 0.001 −0.1522 1
   CWM.LTough 681.8 0 677 0 0.498 < 0.001 −0.1643 1
   CWM.LDMC 315.5 305.4 0.297 < 0.001 −0.1642 1
   FDisSTR 482.8 0 477.9 0 0.365 < 0.001 −0.1717 1
(C) SPAD
   CWM.SPAD 548.9 0 539.5 0 0.458 < 0.001 −0.1536 1
   FDisSPAD 566.6 0 555.9 0 0.470 < 0.001 −0.1358 1
(D) WD
   CWM.WD 556 0 547.4 0 0.470 < 0.001 −0.1562 1
   FDisWD 955.9 0 963.1 0 0.559 < 0.001 −0.2135 1
(E) Tree height
   CWM.TH 744.3 0 749.2 0 0.495 < 0.001 −0.2208 1
   FDisTH 384.5 0 372.7 0 0.359 < 0.001 −0.1491 1
(F) FDisALL 498.3 0 492.1 0 0.393 < 0.001 −0.1617 1

Note: The spatial models incorporated a spatial field to address the spatial correlations in the attributes. In cases where multiple models showed similar performances, we opted for the simplest model with the fewest explanatory variables. ΔDIC = DIC − min(DIC) and the same calculation applies to ΔWAIC. Moran’s I and associated p values assess positive spatial autocorrelation in model residuals.

Abbreviations: E, environmental model; SE, spatial environmental model.

We used the integrated nested Laplace approximation (INLA) modeling approach (Rue et al. 2009) to fit the candidate models. The INLA uses Bayesian inference with a latent Gaussian model to account for spatial autocorrelation. To quantify the spatial relationships (i.e., spatial autocorrelation) among the functional attribute values in each 20-m subplot, a GMRF (a spatial random effect; see Figure S3) was created, where the values of the covariance matrix Σ for the subplots were defined using the Matérn correlation function. The Kappa parameter of the Matérn correlation function, estimated by model fitting, allows us to assess the distance (i.e., range r) at which the subplots show spatial dependency (if the Matérn correlation becomes smaller than 0.1). The smaller the kappa value, the larger the distance of the spatial dependency. This approach uses a stochastic partial differential equation (SPDE), which makes the computation of spatial modeling on GMRFs much easier (Lindgren and Rue 2015).

We used INLA non-informative default priors for all regression coefficients of the environmental variables. However, for the spatial effect, we specified a weakly informative prior to minimize spatial confounding (Fuglstad et al. 2019). Spatial confounding, which refers to the collinearity between spatial random effects and covariates in a model (e.g., Marques et al. 2022; Urdangarin et al. 2023), is an important concept in spatial regression modeling. This collinearity can lead to biased estimates of the fixed effects. To account for possible spatial confounding in our study, we employed a “penalized complexity” (PC) prior for the spatial range r and marginal standard deviation σ of our spatial effect (Simpson et al. 2017). In this PC framework, the prior shrinks toward an “infinite range and zero variance,” leading to a base model with no spatial effect (Bakka et al. 2018) (reflecting model E). In this context, the shrinkage rate of the prior was specified by selecting hyperparameters with properties P(r < r0) = 5% and P(σ > σ0) = 5% (e.g., Beguin et al. 2017; Wakefield et al. 2019). We set r0 to half the size of our study plot (300 m) for all community functional attributes that targeted coarse-scale spatial variations, allowing for small-scale spatial variations in trait data captured primarily by environmental variables. We selected σ0 as the 5% quantile of standard deviation expectations for each community functional attribute. For each attribute, we ran boot-strap resampling and obtained 1000 sample standard deviations and then fixed σ0 at the 5% quantile.

2.5. Model Selection and Evaluation

We compared the support for competing candidate models using the deviance information criterion (DIC) and the Watanabe–Akaike information criterion (WAIC). For each community functional attribute, the candidate model with the lowest DIC and WAIC scores was considered most parsimonious. When two or more models performed equally (i.e., ΔDIC < 3), we selected the model with the lowest number of explanatory variables. We also visualized the distribution of posterior probabilities to replicate the original observations using this model. For a well-calibrated model, posterior probabilities are uniformly distributed (Lucas et al. 2020). To assess predictive performance, we used the conditional predictive ordinates (CPO) provided by INLA, which correspond to the leave-one-out predictive density for each observation. The sum of the log-CPO values yields the log pseudo marginal likelihood (LPML), where higher values indicate better predictive ability. We also recorded the number of CPO failures, which reflect numerical instabilities during computation, with values close to zero indicating reliable estimates. We also assessed residual spatial autocorrelation using Moran’s I with distance-based spatial weights (Moran 1950).

2.6. Null Model Analysis of Species Turnover Effects

We implemented a null model framework to find out whether the contribution of environmental factors suggested by our statistical models might arise from the observed species abundances alone even for randomly assigned traits. To this end, the “trait shuffle” null model procedure (Duarte et al. 2018) involved randomly permuting the values of species traits among species, while preserving community composition and species abundances within each 20 m × 20 m subplot. This procedure maintains the observed spatial turnover of species along environmental gradients but removes any direct association between the focal species trait and environmental variables. For each permutation, CWM trait values were recalculated, and the relationship between CWM trait and environmental variables was estimated. Observed slopes between environmental variables and CWM were then compared with null distributions generated from 999 permutations to evaluate whether trait–environment relationships exceeded expectations from the observed species abundances alone. Further details of the null model procedure are provided in Appendix S4.

All analyses were performed using the R statistical software (R Core Team 2022). PCA of the trait data was conducted using the FactoMineR package (Husson et al. 2025). FDis and CWM were calculated using the dbFD function in the FD package (Laliberté et al. 2022) and a modification of it (dbFD_parallel function; Kim 2018), respectively. INLA analysis and model evaluation were performed using R-INLA (Lindgren and Rue 2015) and INLAutils (Lucas et al. 2020) packages, respectively. Bootstrap resampling was performed using the boot package (Canty and Ripley 2024).

3. Results

3.1. Model Comparison and Selection for Community Functional Traits

We modeled the CWM of each trait separately and the FDis for each of the five trait dimensions individually and for all traits together. The spatial model performed in all cases significantly better than the non-spatial model according to consistent DIC and WAIC values (Table 1). Between the models, spatial models showed higher LPML, with no CPO failures, indicating better predictive performance compared to non-spatial models (Table S1). Our results suggest that spatial patterns in community functional attributes are influenced by both abiotic factors due to environmental gradients and spatially structured processes. These spatial patterns highlight the interconnectedness of plant communities and their abiotic and biotic environments, emphasizing the importance of spatial considerations in trait–environment relationship studies.

3.2. Effect of Environmental Variables on Community Functional Attributes

The effects of environmental variables on variations in the community functional attributes are shown in Table 2. In the final selected models, which always included a spatial field, the relationships between community functional attributes and environmental variables were both positive and negative, and all functional attributes showed at least one significant association with the environmental variables. The local variation in the community-weighted mean tree height (CWM.TH) was significantly related to four environmental variables, including the TWI, mean canopy height above the median (P50), variation of the top canopy height (CV5m), and Fe, and leaf dry matter content (CWM.LDMC) was related to the same variables, except P50. The remaining traits were related to one or two environmental variables each (Table 2).

Table 2. Mean posterior marginal probabilities of fixed effects of environmental variables estimated by the best-performing generalized linear models (Table 1) for community functional attributes, community-weighted mean (CWM) and functional dispersion (FDis).

Slope TWI P50 CV5m Solar Res.NH4 Fe Mn
Leaf acquisitive CWM.LA 0.034
CWM.SLA 0.031
Leaf structure CWM.LThick −0.005 0.006
CWM.LTough
CWM.LDMC −0.004 −0.002 0.004
SPAD CWM.SPAD 0.059
WD CWM.WD −0.003 −0.001
Tree height CWM.TH −0.551 0.249 −0.329 0.912
Leaf acquisitive FDisACQ 0.017 0.068
Leaf structure FDisSTR 0.021 0.014
SPAD FDisSPAD −0.009 0.007 −0.006 0.014
WD FDisWD −0.013 −0.022
Tree height FDisTH 0.007 −0.013 −0.016 0.012
ALL FDisALL 0.016

Note: A higher value indicates that the variable has a stronger effect than one with a lower value. Colors refer to positive (blue) or negative (rose) effects of the covariates. We show only environmental variables with at least one significant effect on functional attributes. For all mean values, including their credible intervals, see Figure S4. The environmental variables were as follows: Slope, TWI; topographic wetness index, P50; mean canopy height above the median; CV5m, coefficient of variation of the top canopy height at 5-m resolution; solar, solar radiation; Res.NH4, ammonium; Fe, iron; and Mn, manganese.

Abbreviations: LA, leaf area; LDMS, leaf dry matter content; LThick, leaf thickness; LTough, leaf toughness; SLA, specific leaf area; SPAD, leaf greenness; TH, maximal tree height; WD, wood density.

The TWI was the explanatory variable with the most significant effect on the variation in the CWM of the functional traits (Table 2). TWI had a positive effect on SLA, suggesting that water availability favors species with high photosynthetic rates. It showed negative effects on LThick, LDMC, WD, and TH, suggesting a conservative resource-use strategy for plants in the dry areas of the study plot. TWI was followed by canopy structure variables, mean canopy height above the median (P50), variation of the top canopy height (CV5m), and soil nutrient Fe. P50 showed positive relationships with leaf area, leaf greenness (SPAD), and TH, whereas CV5m and Fe showed negative and positive relationships with LDMC and TH, respectively. Solar radiation positively correlated with leaf thickness. Mn showed a negative relationship with WD. The remaining variables did not have a significant effect on the CWM of different traits.

Null model results further showed that, for most traits, the observed slopes between CWM and environmental variables fell within the null expectations, suggesting that the observed trait–environment relationships were driven by species turn-over along different environmental gradients. In contrast, TH showed a deviation from null expectations, suggesting environmentally structured trait variation beyond species turnover (Table S2; Figures 2 and S8).

Figure 2.

Figure 2

Null distributions of trait–environment slopes under environmentally structured species turnover for TWI, identified as a major driver in the spatial SE model (see Table 1). For each trait, histograms show the null distributions of slopes obtained by permuting species trait values among species while maintaining community composition unchanged. The vertical red line indicates the observed slope between the trait and a given trait relationship. If the observed slope falls within the null distribution, the trait–environment association is consistent with species turnover along the environmental gradient. If the observed slope falls outside the null distribution, the relationship indicates environmentally structured trait variation beyond species turnover. In our analysis, all traits except tree height fall within the null expectations. Hfeld: Tree height, Thick: Leaf thickness. See Appendix S4 for further details on the null model procedure and Figure S8 for null model results for the remaining important variables.

The FDis of the different trait dimensions changed within our 30-ha plot in response to several environmental variables, and the spatial models showed effects similar to those of the CWM (Table 2). However, the mean canopy height above the median (P50), which distinguishes gaps from mature forest, was the explanatory variable with the most significant effect on variation in trait dispersion. The dispersion of the light-acquisitive dimension (FDisACQ) increased with the mean canopy height above the median (P50) and residual ammonium in the soil (Res.NH4+), which is the amount of ammonium available for plant uptake as an inorganic nitrogen source. Dispersion of the leaf structural dimensions (FDisSTR) increased with the TWI and slope, whereas dispersion of leaf greenness (FDisSPAD) decreased with slope and variation of the top canopy height (CV5m) and increased with P50 and Fe. The dispersion of wood density (FDisWD) decreased with increasing TWI and Mn content. The dispersion of tree height (FDisTH) increased with P50 and Mn, and decreased with solar radiation and Fe levels. The dispersion of all traits (FDisALL) increased with increasing P50 values.

3.3. Effect of Spatial Structure

The incorporation of a spatial field greatly improved the fit of the models, with differences in the evaluation metric scores between the spatial and non-spatial models ranging from 180 to 950 (a difference score of zero defined as the best model; Table 1). Maps of the estimated spatial random effects and predictions of the selected models for different community functional attributes are shown in Figure S5. The spatial patterns of the estimated random effects were closely associated with the observed spatial patterns of community functional attributes (Figure 1), indicating that a substantial proportion of variation in community functional composition is spatially structured, which is not captured by the environmental variables. This suggests that spatially structured processes contribute to the observed patterns, whereas the effects of the measured environmental variables are comparatively small.

The inclusion of a spatial field strongly affected the significance of the relationships between functional traits and environmental variables. In the non-spatial models (Model E in Figure S4), functional traits showed significant relationships with six (out of 14) environmental variables. However, accounting for spatially structured processes in these models reduces the number of significant relationships to an average of only two variables. For the CWM of LDMC and, to some extent, for TH, space had a weak effect as these variables retained half of their significant relationships when including a spatial field. Both selected similar explanatory variables (Figure S4).

4. Discussion

Understanding the mechanisms underlying plant community assembly requires disentangling the roles of environmental variation, spatial structure, and species composition in shaping community functional patterns. In this study, we combined spatially explicit modeling with null model tests to evaluate these components in a species-rich tropical forest. Our results show that a large proportion of variation in community functional composition and diversity is spatially structured, as captured by the spatial component in the INLA analysis that is unrelated to the environmental variables used in the analysis. Considering that our analysis was carried out based on a fine-grained dataset, it is not surprising that the spatial signal was high. It shows that plant distribution and community functional composition is not only a result of environmental gradients, but also other spatially structured processes contribute to the observed patterns. After accounting for spatial structure, most of the important trait–environment relationships identified by the INLA analysis could be explained by environmentally structured species turnover (i.e., the component of variation in species composition aligned with environmental gradients), with low evidence for additional trait–environment associations beyond species compositional change. Importantly, the null model retains the observed species composition, including the effects of biotic and spatial processes, and tests whether composition’s alignment with environmental gradients alone is sufficient to explain the observed trait–environment relationships.

Our results suggest that CWM trait patterns at our plot (20 m × 20 m resolution within a 30-ha plot) are primarily explained by species composition and spatially structured processes, and that the observed trait–environment relationships largely arise through environmentally structured species turn-over rather than direct trait-level responses to environmental gradients. Detecting the direct trait-level responses likely requires broader environmental gradients or the inclusion of intraspecific trait variation. Nevertheless, species composition and resulting turnover are likely linked to environmental variation, as previous work in this forest identified species assemblages associated with soil nutrients and other habitat features (Chanthorn et al. 2024).

Among the environmental variables considered, topographic water availability (TWI) emerged as the primary gradient associated with community functional composition and diversity. There was only limited evidence for a direct association beyond species turnover (with the exception of TH). Other variables, including soil nutrients and canopy structure, showed weaker or nonsignificant effects, once spatial structure was accounted for. This suggests that local hydrology plays a key role in shaping community functional composition and diversity in this tropical plot, which is consistent with plants’ acquisitive growth in wetter microsites and more conservative resource use in drier areas strategies.

Our analyses also highlight the importance of accounting for spatial autocorrelation when evaluating trait–environment relationships. Ignoring spatial structure led to inflated significance of environmental variables, whereas explicitly incorporating a spatial field allowed us to isolate more robust environmental signals. This confirms that spatial non-independence can obscure the interpretation of trait–environment relationships and under-scores the need to jointly consider spatial structure and species composition when inferring community assembly processes.

4.1. Trait–Environment Relationships Through Species Turnover Versus Environmentally Structured Trait Variation

Community ecology emphasizes that trait–environment relationships observed in ecological communities can emerge through multiple assembly processes (Kraft et al. 2008; Lepš et al. 2011; Swenson et al. 2012; Peres-Neto et al. 2017; Zelený 2018). In essence, environmental gradients may filter species possessing particular functional traits, whereas competitive interactions and niche differentiation can further structure trait distributions within communities. Consequently, community-level trait patterns may reflect both direct trait-level responses to environmental gradients and the observed species composition along environmental gradients (Kraft et al. 2008).

In this study, we explicitly separated these mechanisms by combining spatially explicit environmental models with null model tests that disentangled trait–environment relationships into components driven by environmentally structured species turn-over versus additional trait–environment associations beyond compositional change.

Our spatially explicit SE models (INLA-SPDE) provided estimates of environmental effects on community functional composition and diversity while explicitly accounting for spatial autocorrelation. This was necessary to obtain unbiased estimates of these environmental effects, as residual spatial auto-correlation can inflate or obscure environmental relationships in non-spatial models, as seen in the E models. The subsequent null model analysis randomized trait values among species while retaining the observed species composition, thereby preserving all underlying ecological processes shaping community structure, including biotic interactions and dispersal processes. This allowed us to evaluate whether the observed environmental relationships could be explained by species composition alone.

4.2. The Relationship Between Environmental Variables and Trait Distributions

The TWI emerged as the primary environmental factor associated with spatial variation in community functional traits and these relationships are largely explained by environmentally structured species turnover, indicating that variation in species composition aligned with the environmental gradient drives the observed patterns after accounting for spatial autocorrelation. Topographically controlled hydrology is likely a major factor shaping tree species distributions and functional community composition in the Mo Singto plot, which is characterized by a small seasonal stream running through the middle and low-lying valley areas (Brockelman et al. 2017). Although TWI does not measure actual water availability directly, it provides a reliable proxy for fine-scale soil moisture patterns, which may play a crucial role in structuring local plant communities (Sørensen et al. 2006; Araya et al. 2011; Oddershede et al. 2015).

The restricted range of high values of SLA in the plot points to habitat filtering driven primarily through species compositional turnover (Figures 1A and S8). The positive SLA–TWI relationship suggests that wetter areas are dominated by species with high SLA, indicative of fast growth and rapid biomass accumulation (Poorter and Bongers 2006; Katabuchi et al. 2012; Reich 2014). In contrast, low SLA values reflect a more conservative resource-use strategy by species (Reich et al. 2003), indicating that species in relatively dry areas of the plot use resources conservatively. Notably, TH is an exception, showing a functional signal beyond species composition alone that might indicate environmental filtering (Figure S8). Linking SLA or its inverse, leaf mass per area, to photosynthetic capacity requires careful interpretation, which is context-dependent based on leaf life span variation (Funk and Cornwell 2013; Osnas et al. 2018).

WD similarly reflected compositional turnover along the TWI gradient: Higher WD values, typical characteristics of late-successional species, were concentrated in drier areas where denser wood provides greater mechanical support to species (Preston et al. 2006; Fortunel et al. 2014). Leaf thickness patterns further showed this compositional structuring along the TWI gradient. Thicker leaves occurred predominantly in low-TWI areas and high solar radiance, consistent with species adapted to water-limited environments (Witkowski and Lamont 1991; Niinemets 2001; Katabuchi et al. 2012). Positive correlations with solar radiation also align with expectations that in high light-available environments, plants can produce leaves with enhanced photosynthetic potential without being too costly in terms of resource use for the construction of a high leaf surface area (Niinemets 2001). TH exhibits a negative relationship with TWI, indicating that trees tend to be smaller in the lower, wetter areas—a growth pattern that deviates from what is expected under species turnover mechanism alone (Figure S8), highlighting the importance of considering both species composition and environmental filtering effects. Local canopy structure, variation in evapotranspiration, and permanent gaps covered by lianas along the stream likely contribute to this TH pattern (Salas-Morales et al. 2018; Chanthorn et al. 2024).

Among all traits, LDMC and TH were related to the soil nutrient, Fe. Our results align with Hodgson et al. (2011), who advocated using LDMC as a reliable indicator of gradients in soil fertility independent of shade.

4.3. The Spatial Effect in Traits

Our analysis, based on the INLA-SPDE approach, allows us to estimate and account for the effects of space using spatial covariance in modeling trait–environment relationships. This method captures spatial autocorrelation, which serves as a proxy for unmeasured biotic influences and reflects their cumulative effects on trait distributions. Although our study did not directly measure spatially structured biotic processes such as species interactions, dispersal limitations, and local adaptation processes, the spatial components in our models likely encapsulate these effects. This approach aligns with the growing recognition in ecological research that spatial patterns in species distributions and trait variations are not solely determined by environmental factors but are also shaped by processes such as dispersal, biotic interactions, and historical processes (Dirnböck and Dullinger 2004). Furthermore, the spatial component in our models may capture the effects of unmeasured environmental variables or historical factors that influence the current trait distributions. This highlights the complex nature of trait–environment relationships and the importance of considering both abiotic and biotic factors in ecological research.

The estimated spatial effects of traits and large differences in evaluation scores between the non-spatial and spatial models (Table 1) indicate that community functional traits show a strong spatial structure that must be considered when evaluating the effects of environmental variables. Misidentification of significant relationships with environmental variables due to strong spatial structure occurred in all environmental variable groups, but the effect was particularly large for soil nutrients. Many studies in tropical regions have reported that soil properties play an important role in the structure and function of plant communities. However, soil nutrients exhibit strong spatial patterns and significant spatial autocorrelations (John et al. 2007). Pseudoreplication due to spatial autocorrelation is a common problem associated with ecological data, and ignoring it will increase Type I error rates (Legendre 1993). By incorporating spatial autocorrelation using the INLA-SPDE approach, our study contributes to a more comprehensive understanding of the factors shaping plant trait distributions.

Interestingly, our spatial models identified several relationships that were not detected by non-spatial models (Figure S4), including topography, forest canopy structure, and solar radiation (Liu et al. 2014; Oddershede et al. 2015; Pescador et al. 2021). The strong spatial structure of soil nutrients may obscure the effects of these variables by incorrectly capturing the variations in functional traits. The incorporation of a spatial field revealed the spatial structure of functional traits that were independent of the measured environmental factors, thereby revealing the true nature of the trait–environment relationships.

We note that our use of PC priors for the spatial field helps mitigate the issues of spatial confounding, where the effect of a spatially structured environmental driver could be erroneously attributed to spatial random effects (Simpson et al. 2017). Our approach conservatively incorporates only spatial effects that explain the variance beyond that captured by the fixed covariates. Spatial confounding is often overlooked in practice because of the lack of a clear, “unique general definition” and “a definitive solution” (Urdangarin et al. 2023). A potential future direction for our study is to explore the presence of spatial confounding in spatial models (e.g., Marques et al. 2022). This exploration could further enhance our understanding of the spatial effects of trait– environment relationships.

5. Conclusions

Our study provides a spatially explicit assessment of community assembly processes and advances our understanding of how environmental gradients and spatial structure shape community functional composition of plant communities. Topographic water availability emerged as the primary environmental gradient associated with patterns in community functional composition and diversity in our plot. This hydrological gradient aligns functional composition along the core axis of tropical plant strategy trade-offs, with acquisitive growth strategies dominating wetter microsites and conservative resource-use strategies prevailing in drier areas.

At the same time, strong spatial autocorrelation in trait distributions substantially influences the perceived strength of environmental effects. By applying the INLA-SPDE framework, we accounted for this spatial structure and identified more robust environmental signals in trait–environment relationships. Analyses that ignore spatial dependence can therefore overestimate or misinterpret the role of environmental drivers.

Using null model tests on these spatially corrected relationships, we further show that most trait–environment associations are consistent with environmentally structured species turnover, whereas certain traits (TH in our case) exhibit additional trait– environment associations beyond species compositional change. This indicates that trait–environment patterns in tropical forests can arise through multiple processes and that spatially explicit models combined with null model inference provide a useful framework for distinguishing these mechanisms. More broadly, our results highlight that interpreting trait–environment relationships requires jointly accounting for spatial structure and species turnover, as community functional patterns may emerge through multiple assembly processes along environmental gradients.

Supplementary Material

Appendices

Acknowledgments

This work was financially supported by the Office of the Ministry of Higher Education, Science, Research and Innovation; and the Thailand Science Research and Innovation through the Kasetsart University Reinventing University Program 2022. T.W. and R.K. were supported by an ERC Advanced Grant (SpatioCoexistence, project 101141989) funded by the European Union. Views and opinions expressed are however those of the authors only and do not necessarily reflect those of the European Union or the European Research Council. Neither the European Union nor the granting authority can be held responsible for them. Open Access funding enabled and organized by Projekt DEAL.

Funding

This work was supported by Office of the Ministry of Higher Education, Science, Research and Innovation, Research and Innovation; and the Thailand Science Research and Innovation through the Kasetsart University Reinventing University Program 2022 and European Union (101141989).

Footnotes

Author Contributions

Rajapandian Kanagaraj and Wirong Chanthorn conceptualized the study with input from Warren Brockelman and Thorsten Wiegand. Rajapandian Kanagaraj led the statistical analysis and wrote the first draft of the manuscript. Jie Yang, Anuttara Nathalang, Nitin K. Tripathi, and all other authors provided critical review and contributed to the interpretation of the results.

Conflicts of Interest

The authors declare no conflicts of interest.

Data Availability Statement

Data and R code for the analyses presented are available via Figshare: https://figshare.com/s/78b8b1ef1e48a20156ff.

References

  1. Aguirre-Gutiérrez J, Berenguer E, Oliveras Menor I, et al. Functional Susceptibility of Tropical Forests to Climate Change. Nature Ecology & Evolution. 2022;6(7):878–889. doi: 10.1038/s41559-022-01747-6. [DOI] [PubMed] [Google Scholar]
  2. Araya YN, Silvertown J, Gowing DJ, McConway KJ, Peter Linder H, Midgley G. A Fundamental, Eco-Hydrological Basis for Niche Segregation in Plant Communities. New Phytologist. 2011;189(1):253–258. doi: 10.1111/j.1469-8137.2010.03475.x. [DOI] [PubMed] [Google Scholar]
  3. Bakka H, Rue H, Fuglstad G, et al. Spatial Modeling With R-INLA: A Review. WIREs Computational Statistics. 2018;10(6):e1443. doi: 10.1002/wics.1443. [DOI] [Google Scholar]
  4. Balvanera P, Quijas S, Pérez-Jiménez A. Distribution Patterns of Tropical Dry Forest Trees Along a Mesoscale Water Availability Gradient: Tree Distribution Along Water Availability Gradient. Biotropica. 2011;43(4):414–422. doi: 10.1111/j.1744-7429.2010.00712.x. [DOI] [Google Scholar]
  5. Beguin J, Fuglstad G-A, Mansuy N, Paré D. Predicting Soil Properties in the Canadian Boreal Forest With Limited Data: Comparison of Spatial and Non-Spatial Statistical Approaches. Geoderma. 2017;306:195–205. doi: 10.1016/j.geoderma.2017.06.016. [DOI] [Google Scholar]
  6. Bialic-Murphy L, McElderry RM, Esquivel-Muelbert A, et al. The Pace of Life for Forest Trees. Science. 2024;386(6717):92–98. doi: 10.1126/science.adk9616. [DOI] [PubMed] [Google Scholar]
  7. Borcard D, Legendre P, Drapeau P. Partialling Out the Spatial Component of Ecological Variation. Ecology. 1992;73:1045–1055. doi: 10.2307/1940179. [DOI] [Google Scholar]
  8. Brockelman WY, Nathalang A, Maxwell JF. Mo Singto Forest Dynamics Plot: Flora and Ecology. National Science and Technology Development Agency and Department of National Parks, Wildlife and Plant Conservation; 2017. [Google Scholar]
  9. Canty A, Ripley BD. boot: Bootstrap R (S-Plus) Functions. 2024.
  10. Cardinale BJ, Duffy JE, Gonzalez A, et al. Biodiversity Loss and Its Impact on Humanity. Nature. 2012;486(7401):59–67. doi: 10.1038/nature11148. [DOI] [PubMed] [Google Scholar]
  11. Chanthorn W, Wiegand T, Nathalang A, et al. Species Assemblages and Their Drivers Differ Between Trees and Lianas in a Seasonal Evergreen Forest in Thailand. Ecosphere. 2024;15(8):e4942. doi: 10.1002/ecs2.4942. [DOI] [Google Scholar]
  12. de Bello F, Carmona CP, Dias ATC, Götzenberger L, Moretti M, Berg MP. Handbook of Trait-Based Ecology: From Theory to R Tools. Cambridge University Press: 2021a. Community Assembly Rules; pp. 129–150. [DOI] [Google Scholar]
  13. de Bello F, Carmona CP, Dias ATC, Götzenberger L, Moretti M, Berg MP. Handbook of Trait-Based Ecology: From Theory to R Tools. Cambridge University Press: 2021b. Community Metrics; pp. 75–104. [DOI] [Google Scholar]
  14. Diniz-Filho JAF, Siqueira T, Padial AA, Rangel TF, Landeiro VL, Bini LM. Spatial Autocorrelation Analysis Allows Disentangling the Balance Between Neutral and Niche Processes in Metacommunities. Oikos. 2012;121(2):201–210. doi: 10.1111/j.1600-0706.2011.19563.x. [DOI] [Google Scholar]
  15. Dirnböck T, Dullinger S. Habitat Distribution Models, Spatial Autocorrelation, Functional Traits and Dispersal Capacity of Alpine Plant Species. Journal of Vegetation Science. 2004;15(1):77–84. doi: 10.1111/j.1654-1103.2004.tb02239.x. [DOI] [Google Scholar]
  16. Díaz S, Cabido M. Vive la Différence: Plant Functional Diversity Matters to Ecosystem Processes. Trends in Ecology & Evolution. 2001;16(11):646–655. doi: 10.1016/S0169-5347(01)02283-2. [DOI] [Google Scholar]
  17. Duarte LDS, Debastiani VJ, Carlucci MB, Diniz-Filho JAF. Analyzing Community-Weighted Trait Means Across Environmental Gradients: Should Phylogeny Stay or Should It Go? Ecology. 2018;99(2):385–398. doi: 10.1002/ecy.2081. [DOI] [PubMed] [Google Scholar]
  18. Fortunel C, Ruelle J, Beauchêne J, Fine PVA, Baraloto C. Wood Specific Gravity and Anatomy of Branches and Roots in 113 Amazonian Rainforest Tree Species Across Environmental Gradients. New Phytologist. 2014;202(1):79–94. doi: 10.1111/nph.12632. [DOI] [PubMed] [Google Scholar]
  19. Fuglstad G-A, Simpson D, Lindgren F, Rue H. Constructing Priors That Penalize the Complexity of Gaussian Random Fields. Journal of the American Statistical Association. 2019;114(525):445–452. doi: 10.1080/01621459.2017.1415907. [DOI] [Google Scholar]
  20. Funk JL, Cornwell WK. Leaf Traits Within Communities: Context May Affect the Mapping of Traits to Function. Ecology. 2013;94(9):1893–1897. doi: 10.1890/12-1602.1. [DOI] [PubMed] [Google Scholar]
  21. Garnier E, Cortez J, Billès G, et al. Plant Functional Markers Capture Ecosystem Properties During Secondary Succession. Ecology. 2004;85(9):2630–2637. doi: 10.1890/03-0799. [DOI] [Google Scholar]
  22. Hodgson JG, Montserrat-Martí G, Charles M, et al. Is Leaf Dry Matter Content a Better Predictor of Soil Fertility Than Specific Leaf Area? Annals of Botany. 2011;108(7):1337–1345. doi: 10.1093/aob/mcr225. [DOI] [PMC free article] [PubMed] [Google Scholar]
  23. Hubbell SP. The Unified Neutral Theory of Biodiversity and Biogeography (MPB-32) Princeton University Press; 2001. [Google Scholar]
  24. Husson F, Josse J, Le S, Mazet J. FactoMineR: Multivariate Exploratory Data Analysis and Data Mining. 2025.
  25. John R, Dalling JW, Harms KE, et al. Soil Nutrients Influence Spatial Distributions of Tropical Tree Species. Proceedings of the National Academy of Sciences of the United States of America. 2007;104:864–869. doi: 10.1073/pnas.0604666104. [DOI] [PMC free article] [PubMed] [Google Scholar]
  26. Katabuchi M, Kurokawa H, Davies SJ, Tan S, Nakashizuka T. Soil Resource Availability Shapes Community Trait Structure in a Species-Rich Dipterocarp Forest. Journal of Ecology. 2012;100(3):643–651. doi: 10.1111/j.1365-2745.2011.01937.x. [DOI] [Google Scholar]
  27. Kim S. dbFD_parallel.R 24963 Bytes. 2018 doi: 10.6084/M9.FIGSHARE.6167903.V1. [DOI] [Google Scholar]
  28. Kraft NJB, Valencia R, Ackerly DD. Functional Traits and Niche-Based Tree Community Assembly in an Amazonian Forest. Science. 2008;322(5901):580–582. doi: 10.1126/science.1160662. [DOI] [PubMed] [Google Scholar]
  29. Kühn I. Incorporating Spatial Autocorrelation May Invert Observed Patterns. Diversity and Distributions. 2007;13(1):66–69. doi: 10.1111/j.1472-4642.2006.00293.x. [DOI] [Google Scholar]
  30. Laliberté E, Legendre P. A Distance-Based Framework for Measuring Functional Diversity From Multiple Traits. Ecology. 2010;91(1):299–305. doi: 10.1890/08-2244.1. [DOI] [PubMed] [Google Scholar]
  31. Laliberté E, Legendre P, Shipley B. FD: Measuring Functional Diversity (FD) From Multiple Traits, and Other Tools for Functional Ecology. 2022. [DOI] [PubMed]
  32. Legendre P. Spatial Autocorrelation: Trouble or New Paradigm? Ecology. 1993;74:1659–1673. doi: 10.2307/1939924. [DOI] [Google Scholar]
  33. Lepš J, de Bello F. Differences in Trait–Environment Relationships: Implications for Community Weighted Means Tests. Journal of Ecology. 2023;111(11):2328–2341. doi: 10.1111/1365-2745.14172. [DOI] [Google Scholar]
  34. Lepš J, de Bello F, Šmilauer P, Doležal J. Community Trait Response to Environment: Disentangling Species Turnover vs Intraspecific Trait Variability Effects. Ecography. 2011;34(5):856–863. doi: 10.1111/j.1600-0587.2010.06904.x. [DOI] [Google Scholar]
  35. Lindgren F, Rue H. Bayesian Spatial Modelling With R-INLA. Journal of Statistical Software. 2015;63(19):1–25. doi: 10.18637/jss.v063.i19. [DOI] [Google Scholar]
  36. Liu J, Yunhong T, Slik JWF. Topography Related Habitat Associations of Tree Species Traits, Composition and Diversity in a Chinese Tropical Forest. Forest Ecology and Management. 2014;330:75–81. doi: 10.1016/j.foreco.2014.06.045. [DOI] [Google Scholar]
  37. Lucas T, Python A, Redding D. Graphical Outputs and Spatial Cross-Validation for the R-INLA Package Using INLAutils. 2020 [Google Scholar]
  38. Marques I, Kneib T, Klein N. Mitigating Spatial Confounding by Explicitly Correlating Gaussian Random Fields. Environmetrics. 2022;33(5):e2727. doi: 10.1002/env.2727. [DOI] [Google Scholar]
  39. McFadden IR, Bartlett MK, Wiegand T, et al. Disentangling the Functional Trait Correlates of Spatial Aggregation in Tropical Forest Trees. Ecology. 2019;100(3):e02591. doi: 10.1002/ecy.2591. [DOI] [PubMed] [Google Scholar]
  40. Moran PAP. Notes on Continuous Stochastic Phenomena. Biometrika. 1950;37(1-2):17–23. [PubMed] [Google Scholar]
  41. Niinemets Ü. Global-Scale Climatic Controls of Leaf Dry Mass Per Area, Density, and Thickness in Trees and Shrubs. Ecology. 2001;82(2):453–469. doi: 10.1890/0012-9658(2001)082[0453:GSCCOL]2.0.CO;2. [DOI] [Google Scholar]
  42. Oddershede A, Svenning J-C, Damgaard C. Topographically Determined Water Availability Shapes Functional Patterns of Plant Communities Within and Across Habitat Types. Plant Ecology. 2015;216(9):1231–1242. doi: 10.1007/s11258-015-0504-6. [DOI] [Google Scholar]
  43. Osnas JLD, Katabuchi M, Kitajima K, et al. Divergent Drivers of Leaf Trait Variation Within Species, Among Species, and Among Functional Groups. Proceedings of the National Academy of Sciences of the United States of America. 2018;115(21):5480–5485. doi: 10.1073/pnas.1803989115. [DOI] [PMC free article] [PubMed] [Google Scholar]
  44. Peres-Neto PR, Dray S, ter Braak CJF. Linking Trait Variation to the Environment: Critical Issues With Community-Weighted Mean Correlation Resolved by the Fourth-Corner Approach. Ecography. 2017;40(7):806–816. doi: 10.1111/ecog.02302. [DOI] [Google Scholar]
  45. Pescador DS, de Bello F, López-Angulo J, Valladares F, Escudero A. Spatial Scale Dependence of Ecological Factors That Regulate Functional and Phylogenetic Assembly in a Mediterranean High Mountain Grassland. Frontiers in Ecology and Evolution. 2021;9:622148. doi: 10.3389/fevo.2021.622148. [DOI] [Google Scholar]
  46. Pillar VD, Duarte LDS. A Framework for Metacommunity Analysis of Phylogenetic Structure. Ecology Letters. 2010;13(5):587–596. doi: 10.1111/j.1461-0248.2010.01456.x. [DOI] [PubMed] [Google Scholar]
  47. Pinho BX, de Melo FPL, Arroyo-Rodríguez V, Pierce S, Lohbeck M, Tabarelli M. Soil-Mediated Filtering Organizes Tree Assemblages in Regenerating Tropical Forests. Journal of Ecology. 2018;106(1):137–147. doi: 10.1111/1365-2745.12843. [DOI] [Google Scholar]
  48. Poorter L, Bongers F. Leaf Traits Are Good Predictors of Plant Performance Across 53 Rain Forest Species. Ecology. 2006;87(7):1733–1743. doi: 10.1890/0012-9658(2006)87[1733:ltagpo]2.0.co;2. [DOI] [PubMed] [Google Scholar]
  49. Possen BJHM, Oksanen E, Rousi M, et al. Adaptability of Birch (Betula pendula Roth) and Aspen (Populus tremula L.) Genotypes to Different Soil Moisture Conditions. Forest Ecology and Management. 2011;262(8):1387–1399. doi: 10.1016/j.foreco.2011.06.035. [DOI] [Google Scholar]
  50. Pothasin P, Paradis E, Brockelman WY, et al. Seed Size Variation of Trees and Lianas in a Tropical Forest of Southeast Asia: Allometry, Phylogeny, and Seed Trait - Plant Functional Trait Relationships. Frontiers in Plant Science. 2022;13:852167. doi: 10.3389/fpls.2022.852167. [DOI] [PMC free article] [PubMed] [Google Scholar]
  51. Preston KA, Cornwell WK, DeNoyer JL. Wood Density and Vessel Traits as Distinct Correlates of Ecological Strategy in 51 California Coast Range Angiosperms. New Phytologist. 2006;170(4):807–818. doi: 10.1111/j.1469-8137.2006.01712.x. [DOI] [PubMed] [Google Scholar]
  52. Punchi-Manage R, Getzin S, Wiegand T, et al. Effects of Topography on Structuring Local Species Assemblages in a Sri Lankan Mixed Dipterocarp Forest. Journal of Ecology. 2013;101(1):149–160. doi: 10.1890/12-2102.1. [DOI] [PubMed] [Google Scholar]
  53. R Core Team. R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna, Austria; 2022. [Google Scholar]
  54. Reich PB. The World-Wide ‘Fast-Slow’ Plant Economics Spectrum: A Traits Manifesto. Journal of Ecology. 2014;102(2):275–301. doi: 10.1111/1365-2745.12211. [DOI] [Google Scholar]
  55. Reich PB, Wright IJ, Cavender-Bares J, et al. The Evolution of Plant Functional Variation: Traits, Spectra, and Strategies. International Journal of Plant Sciences. 2003;164(S3):S143–S164. doi: 10.1086/374368. [DOI] [Google Scholar]
  56. Rue H, Martino S, Chopin N. Approximate Bayesian Inference for Latent Gaussian Models by Using Integrated Nested Laplace Approximations. Journal of the Royal Statistical Society, Series B: Statistical Methodology. 2009;71(2):319–392. doi: 10.1111/j.1467-9868.2008.00700.x. [DOI] [Google Scholar]
  57. Salas-Morales SH, González EJ, Meave JA. Canopy Height Variation and Environmental Heterogeneity in the Tropical Dry Forests of Coastal Oaxaca, Mexico. Biotropica. 2018;50(1):26–38. doi: 10.1111/btp.12491. [DOI] [Google Scholar]
  58. Salazar Villegas MH, Wiegand T, González-M R, Rodriguez-Buritica S, Qasim M, Csaplovics E. Spatial Facilitation and Competition Regulate Tree Species Assembly in a Tropical Dry Forest. Frontiers in Forests and Global Change. 2023;6:1028515. doi: 10.3389/ffgc.2023.1028515. [DOI] [Google Scholar]
  59. Seidler TG, Plotkin JB. Seed Dispersal and Spatial Pattern in Tropical Trees. PLoS Biology. 2006;4(11):e344. doi: 10.1371/journal.pbio.0040344. [DOI] [PMC free article] [PubMed] [Google Scholar]
  60. Silvertown J, Dodd ME, Gowing DJG, Mountford JO. Hydrologically Defined Niches Reveal a Basis for Species Richness in Plant Communities. Nature. 1999;400(6739):61–63. doi: 10.1038/21877. [DOI] [Google Scholar]
  61. Simpson D, Rue H, Riebler A, Martins TG, Sørbye SH. Penalising Model Component Complexity: A Principled, Practical Approach to Constructing Priors. Statistical Science. 2017;32(1):1–28. doi: 10.1214/16-STS576. [DOI] [Google Scholar]
  62. Sørensen R, Zinko U, Seibert J. On the Calculation of the Topographic Wetness Index: Evaluation of Different Methods Based on Field Observations. Hydrology and Earth System Sciences. 2006;10(1):101–112. doi: 10.5194/hess-10-101-2006. [DOI] [Google Scholar]
  63. Swenson NG, Erickson DL, Mi X, et al. Phylogenetic and Functional Alpha and Beta Diversity in Temperate and Tropical Tree Communities. Ecology. 2012;93(sp8):S112–S125. doi: 10.1890/11-0402.1. [DOI] [Google Scholar]
  64. Urdangarin A, Goicoa T, Ugarte MD. Evaluating Recent Methods to Overcome Spatial Confounding. Revista Matemática Complutense. 2023;36(2):333–360. doi: 10.1007/s13163-022-00449-8. [DOI] [Google Scholar]
  65. Wakefield J, Fuglstad G-A, Riebler A, Godwin J, Wilson K, Clark SJ. Estimating Under-Five Mortality in Space and Time in a Developing World Context. Statistical Methods in Medical Research. 2019;28(9):2614–2634. doi: 10.1177/0962280218767988. [DOI] [PMC free article] [PubMed] [Google Scholar]
  66. Wang X, Sun S, Sedio BE, et al. Niche Differentiation Along Multiple Functional-Trait Dimensions Contributes to High Local Diversity of Euphorbiaceae in a Tropical Tree Assemblage. Journal of Ecology. 2022;110(11):2731–2744. doi: 10.1111/1365-2745.13984. [DOI] [Google Scholar]
  67. Witkowski ETF, Lamont BB. Leaf Specific Mass Confounds Leaf Density and Thickness. Oecologia. 1991;88(4):486–493. doi: 10.1007/BF00317710. [DOI] [PubMed] [Google Scholar]
  68. Wright IJ, Reich PB, Westoby M, et al. The Worldwide Leaf Economics Spectrum. Nature. 2004;428(6985):821–827. doi: 10.1038/nature02403. [DOI] [PubMed] [Google Scholar]
  69. Zelený D. Which Results of the Standard Test for Community-Weighted Mean Approach Are Too Optimistic? Journal of Vegetation Science. 2018;29(6):953–966. doi: 10.1111/jvs.12688. [DOI] [Google Scholar]
  70. Zuur AF, Ieno EN, Saveliev AA. Beginner’s Guide to Spatial, Temporal and Spatial-Temporal Ecological Data Analysis With R-INLA. Highland Statistics Ltd; 2017. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Appendices

Data Availability Statement

Data and R code for the analyses presented are available via Figshare: https://figshare.com/s/78b8b1ef1e48a20156ff.

RESOURCES