Data analysis code in R language This section includes useful R functions to quickly perform land use classification based on Landsat 5 TM, 7 ETM+ or 8 OLI images. The principal classifier used is the Random Forest algorithm. Code for change detection in land use class over time as well as related area estimation is also provided.