Petr Keil, Walter Jetz. 2014. Downscaling the environmental associations and spatial patterns of species richness. Ecological Applications 24:823–831. http://dx.doi.org/10.1890/13-0805.1


Supplement

Commented R and JAGS codes of the models and the complete data set used in this study.
Ecological Archives A024-048-S1.

Copyright


Authors
File list (downloads)
Description


Author(s)

Petr Keil
Yale University
Department of Ecology and Evolutionary Biology
165 Prospect Street
New Haven, CT 06520 USA
E-mail: Pkeil@seznam.cz

Walter Jetz
Yale University
Department of Ecology and Evolutionary Biology
165 Prospect Street
New Haven, CT 06520 USA
E-mail: walter.jetz@yale.edu


File list

fine_data.csv (MD5: 9ec6458220867aba02650559267a47b2)

coarse_data.csv (MD5: 66ba1aac22c1995ff2cf87afcfd67dce)

grid_shapefiles.zip (MD5: 75f1050618a50cf2f1b4ffbdb8c9ca4d)

R&JAGS_codes_and_descriptions.r (MD5: 1038789e9074783d00e3314b0414c201)

Description

The fine.data.csv file is a comma-separated text file. It contains data for each fine-grain grid cell in the complete set of 6238 cells. Column definitions:

  1. id_coarse - String that is unique to the coarse-grain grid cell overlapping the focal fine-grain cell. All fine-grain cells that share the same id_coarse lay within the same coarse-grain cell.
  2. lon-lat025 - Unique string that identifies each fine-grain cell. It can also be used to link the data to the shapefile of the fine-grain grid.
  3. NPP - Net primary productivity [kg carbon m-2].
  4. LC - Shannon index of land-cover classes.
  5. PW - Precipitation in the wettest month [mm/month].
  6. HFP - Human footprint index [Units provided in Trombulak et al. 2010].
  7. PS - Precipitation seasonality [Coefficient of Variation].
  8. T - Mean annual temperature [C°].
  9. S.coarse - Number of species in the coarse-grain cell that encompasses the focal fine-grain cell.
  10. S.fine - Number of species in the cell.
  11. ref.data - Indicator variable that distinguishes the well-sampled 600 cells of the Reference data set (value of 1) from the rest (value of 0).

The coarse.data.csv file is a comma-separated text file. It contains data for each coarse-grain cell in the complete set of 107 coarse-grain cells. Column definitions:

  1. id_coarse - String that is unique to each coarse-grain grid cell. It can be used to link the data to the shapefile of the coarse-grain grid.
  2. S.coarse - Number of species in the coarse-grain cell.
  3. START - Index variable (see below).
  4. STOP - Index variable. All fine-grain grid cells that lay within the coarse-grain cell have index j where START  j  STOP. The index j identifies rows in the fine.data.csv table.

The file grid_shapefiles.zip is a .zip archive that contains two Esri shapefiles. The first one is the 0.25° fine-grain grid. The second one is the 2° coarse-grain grid. These shapefiles are not essential for the replication of the analyses, but they can be useful for visualization purposes or for further research. Both shapefiles can be linked to the fine_data.csv and coarse_data.csv by using the lon-lat025 and id_coarse fields respectively.

The file R&JAGS_codes_and_descriptions.r is a text file that contains R and JAGS codes (together with their descriptions) that can be used to run the three models presented in the study.