R code

We rely on R for most of my statistical analyses. Given the computer- and simulation-heavy analyses that we conduct on macroecology and evolutionary biology, we do some R coding to handle, manage, and analyze my data. Here, we provide some links for some of our R codes

letsR package

Bruno Vilela and Fabricio Villalobos created an R package to ease our macroecological analyses. Luckily enough, we published it as an application note in Methods in Ecology and Evolution (see my publications page). The package can be downloaded from the CRAN repository. Also, you can find the most up to date version of the package on its github page

I also have a personal github page with some R codes, although very out of date. I'll try to update that soon.

Madagascar Biodiversity Informatics Workshop (June 2017)

Workshop exercises in R:
QGIS exercise
Occurences and geographic ranges
Ecological Niche Modeling
Species richness estimators
Species richness gradients

Modelado de Nichos Ecológicos y Distribuciones Geográficas (UNAM-Yucatán)

Ejercicios en R: DATOS
Datos de distribución

Ejercicios en R: Código
Presencias y Áreas de distribución
Áreas de distribución y patrones de diversidad

Macroecology course -- exercises (in Spanish, November 2016)

Exercises in R: DATA
exercises' DATA

Exercises in R: CODE
Occurences and geographic ranges
Polygons, rasters and scales
Diversity and distribution: two sides of the same coin
Correlative approach
Simple null models
Ecogeographical rules

Spatial Statistics course -- exercises (in Spanish, Noviembre 2016)

Exercises in R: DATA
Spatial variables

Exercises in R: CODE
Geographically Weighted Regression
Eigenvector-based Spatial Filters

"... for unless they could help us do something in the task of investigating natural phenomena, there would be no reason for choosing model building over astrology or mystic revelation as a source of knowledge of the natural world.” William C. Wimsatt