This is the core of the post-hoc binning procedure. Here the following is carried out:
- Setup of folders and library
- Input of data - raster files of Boreal Avian Modelling (BAM) Project national models of predicted bird density, study area shapefile, rasterToMatch (LCC05), categorical raster of land class, categorical raster of forest class, age raster of areas covered by forest class raster.
- Extraction of raster data into birdDatasets
- 1D post-hoc binning (prediction of bird density by land/forest class), and associated data exploration and analysis
- 2D post-hoc binning (prediction of bird density by forest and age class), and associated data exploration and analysis
This is a secondary section, to be used once PHB.Rmd has been run. Here the following is carried out:
- Rasters of predicted bird density (mapBins) are produced according to the categorical predictions made in 1D and 2D post-hoc bining
- Rasters showing residuals of mapBins rasters and BAM national model rasters are produced
- Code to visually present and compare these rasters is provided
- Analysis and comparison of 1D and 2D binning
Code used in comparison of 1D and 2D binning is here
Here the input landscape data is explored, and summary statistics and graphs of the data are produced.