This project focuses on modeling and predicting suitable habitats for the Great Hornbill (Buceros bicornis) within the Malay Peninsula. The study employs classical Species Distribution Models (SDMs) like MaxEnt and Bioclim, enhanced by Machine Learning techniques such as Random Forests. The ecological data was processed and analyzed in R, with habitat suitability mapped using QGIS.
- Species: Great Hornbill (Buceros bicornis)
- Study Area: Malay Peninsula (Geographic extent: 99°E to 105°E, 1.2°N to 6.7°N)
- Species Distribution Models (SDMs): Implemented MaxEnt and Bioclim to predict the distribution of the Great Hornbill based on climatic variables within the Malay Peninsula.
- Machine Learning: Applied Random Forests to refine and enhance habitat suitability predictions.
- Data Processing: Managed and optimized ecological datasets within R to streamline SDM workflows.
- Spatial Analysis: Utilized QGIS to visualize and map habitat suitability using spatial and ecological data.
- R: Data processing and SDM modeling using packages like
geodata,raster,dismo, andsf. - QGIS: Spatial data visualization and habitat mapping.
- Stadia Maps API: Used for fetching basemaps for geographic visualization.
- MaxEnt and Bioclim: For species distribution modeling.
- Random Forests: For machine learning-based habitat suitability predictions.
The R code for this project is structured to:
- Load and prepare ecological data specific to the Great Hornbill.
- Define geographic extents and bounding boxes for the Malay Peninsula.
- Generate and visualize basemaps and habitat suitability maps.
- Implement Bioclim models and predict the Great Hornbill's distribution.
- Evaluate model performance using ROC curves.
# Load Data
horn <- read.csv("hornbill_my1.csv")
horn1 <- horn[,-1] # Remove the first column
worldclim <- worldclim_global(var = "bio", res = 10, path = tempdir("C:\\Users\\dy0053tu\\Desktop\\r_data"))