wpRFPMS : Dependencies and installation
Bondarenko M. , Nieves J. J., Stevens F. R., Gaughan A. E., Tatem A. and Sorichetta A. 2020. wpgpRFPMS: Random Forests population modelling R scripts, version 0.1.0. University of Southampton: Southampton, UK. 10.5258/SOTON/WP00665
wpRFPMS script requires the following R packages.
"rgdal" "raster" "randomForest" "quantregForest" "foreign" "snow" "doParallel" "gdalUtils" "jsonlite" "logging" "doSNOW" "RCurl" "plyr" "wpgpCovariates" "wpUtilities"
Most of the above R packages can be installed from the CRAN repository.
wpgpCovariates is an R Package interface used for downloading raster datasets from the WorldPop FTP repository. Installation of wpgpCovariates isn't available from CRAN yet, but you can install it directly from github with the following code in the R console:
install.packages("devtools") devtools::install_github("wpgp/wpgpCovariates") # load package library(wpgpCovariates)
wpUtilities is an R Package containing the tools to work with raster files, such as zonal stats and rasterizing data, within the context of WorldPop modelling framework and potentially beyond. Installation of wpUtilities isn't available from CRAN yet, but you can install it directly from github with the following code in the R console:
install.packages("devtools") devtools::install_github("wpgp/wpUtilities") # load package library(wpUtilities)