Erythroxylum_rotundifolium

plot of chunk range_map

Seasonal patterns

A standard Water and Leith climate diagram for the mean values of precipitation and temperature extracted from the species presence points.

plot of chunk unnamed-chunk-2

The Walter and Leith diagram assumes that the growing season occurs when rainfall is over 100mm. A more refined method is to extract the values from a bucket model that keeps track of input to the soil profile through precipitation and reductions in soil moisture through evaptranspiration over the course of the year. This can be compared to changes in NDVI at the collection points.

plot of chunk seasonal plot of chunk seasonal

Comparison

In some cases NDVI will remain fairly constant, even when the balance model shows that soil water constant is lowered for part of the year. Providing SWC is above 50% of maximum levels the vegetation would not experience a great deal of hydric stress.

plot of chunk compare

Summary of the variable values at the collection points.

Min. 1st Qu. Median Mean 3rd Qu. Max.
x -105.00 -97.00 -89.90 -92.50 -88.70 -84.20
y 9.93 17.50 18.30 17.90 19.50 22.70
X -105.00 -97.00 -89.90 -92.50 -88.70 -84.20
Y 9.94 17.50 18.30 17.90 19.50 22.60
elev 2.00 72.00 225.00 502.00 824.00 2380.00
anprec 464.00 840.00 1140.00 1130.00 1220.00 2980.00
mtemp 14.60 23.50 25.20 24.20 25.80 29.00
Trange 12.30 16.70 18.90 18.70 20.50 26.30
saet 465.00 835.00 1060.00 996.00 1140.00 1420.00
msoil 217.00 256.00 292.00 291.00 324.00 391.00

Niche space with relation to annual precipitation and mean annual temperature.

The following diagrams show kernel densities one two synthestic climate axes (total annual rainfall and mean annual temperature). If their are signs of multimodality this may indicate that the species has not fully explored its climate niche, or that there are disjunct populations with differing characteristics. The method will not show clear results for species with few collection points.

plot of chunk kernel

Spatial clustering

The same analysis can be run to look at spatial clustering. The kernel densities are smoothed, so will only suggest multimodality if the points are very highly clustered.

plot of chunk spatial_kernel

Finding spatial clusters

The significance of any spatial clusters can be checked using the silhouette width method. The width is calculated for values of k between 2 and 5. If any are higher than 0.52 the analysis will produce a diagram showing the clusters.

plot of chunk spatial_clusters plot of chunk spatial_clusters

## [1] "The collections form  4 spatial clusters"

The collections form 4 spatial clusters

Anosim

If there is evidence that the points fall into at least 2 groups, but fewer than 6 we can look at whether there is significant differences in variability between and within groups in the climatic conditions at the sites using Anosim. This is a sensitive test, as would be MANOVA, so there will often be significant differences. They should only be intepreted as important if R is much larger than 0.3.

## 
## Call:
## anosim(dat = dis, grouping = fit$cluster, permutations = 100) 
## Dissimilarity: euclidean 
## 
## ANOSIM statistic R: 0.755 
##       Significance: 0.0099 
## 
## Based on  100  permutations
## 
## Upper quantiles of permutations (null model):
##    90%    95%  97.5%    99% 
## 0.0321 0.0355 0.0487 0.0554 
## 
## Dissimilarity ranks between and within classes:
##           0%   25%   50%   75%  100%     N
## Between 6620 29216 41976 52154 61422 35864
## 1        111  8442 14065 24336 56273   435
## 2        111  9210 13100 20714 54188   595
## 3        111  5952 12829 27503 59899 21528
## 4        111  9764 13554 22608 61360  3003

plot of chunk anosim

## Analysis of Variance Table
## 
## Response: vars$mtemp
##                         Df Sum Sq Mean Sq F value Pr(>F)    
## as.factor(fit$cluster)   3   1003     334    79.7 <2e-16 ***
## Residuals              347   1456       4                   
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

The collections form 4 spatial clusters

Gam model using simple environmental variables

For comparison we can fit a model using mean temperature, temperature range and annual precipitation.

plot of chunk unnamed-chunk-5

plot of chunk unnamed-chunk-6

plot of chunk unnamed-chunk-7

Bucket model GAM.

Now fit a gam using temperature range, mean temperature and the annual soil moisture dynamic as input.

plot of chunk unnamed-chunk-8

plot of chunk unnamed-chunk-9

Random Forest

plot of chunk unnamed-chunk-11

plot of chunk unnamed-chunk-12