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.

Numerical Ecology in R -- exercises (in Spanish, January 2018)

Exercises in R: DATA
Spatial variables

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

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

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

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

"... 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