## Error: target of assignment expands to non-language object

Rwanda Population Map Metadata Report

Prediction Weighting Layer Used in Population Redistribution

The data presented below represent the predicted number of people per ~100 m pixel as estimated using the random forest (RF) model as described in Stevens, et al. (In Press). The following pages contain a description of the RF model and its covariates, their sources and any metadata collected for each covariate. The prediction weighting layer is used to dasymetrically redistribute the census counts and project counts to match estimated populations based on UN estimates for the final population maps provided by AfriPop, AsiaPop and AmeriPop.

plot of chunk predict_density

Rwanda Census Data and Observed Population Density

These data are the population density values used to estimate the RF model used to create the prediction weighting layer you see above. Values represent population density as measured by people per hectare and calculated from population counts within each census unit. These values are used as the dependent variable during model estimation.

Rwandan Census, 2002

Folder: Census
File Name: adminpop.shp
Source: National Institute of Statistics of Rwanda, 2002
Description: These high spatial resolution census block data were attained through in-country partners for 2002.
Class: polygon
Derived Covariates:
area, buff, zones,

class       : SpatialPolygonsDataFrame 
nfeatures   : 9192 
extent      : 373404, 600036, 9686066, 9884202  (xmin, xmax, ymin, ymax)
coord. ref. : NA 
nvariables  : 9

plot of chunk census_data


Random Forest Model and Diagnostics

These output and figures outline the estimated RF model that is used to predict the population density weighting layer. The model is fitted to the population density values for the preceding census data using covariates aggregatedfrom the ancillary data sources summarized following the model diagnostics.


Call:
 randomForest(x = x_data, y = y_data, ntree = popfit$ntree, mtry = popfit$mtry,      nodesize = length(y_data)/1000, importance = TRUE, proximity = TRUE) 
               Type of random forest: regression
                     Number of trees: 500
No. of variables tried at each split: 19

          Mean of squared residuals: 0.18
                    % Var explained: 69

plot of chunk random_forestplot of chunk random_forestplot of chunk random_forest

Covariate Metadata

Remotely-sensed, Classified Landcover

Folder: Landcover
File Name: rwa_lc.tif
Source: Fused Globcover 2009 (300m) With Landsat-Derived Urban/Rural Cover (100m)
Description: Land cover information was combined from a GlobCover 2009 coverage and fused with Landsat-derived urban/rural built area classification to construct a single land cover dataset.
Class: raster
Derived Covariates:
prp011, cls011, dst011, prp040, cls040, dst040, prp130, cls130, dst130, prp140, cls140, dst140, prp150, cls150, dst150, prp160, cls160, dst160, prp190, cls190, dst190, prp200, cls200, dst200, prp210, cls210, dst210, prp230, cls230, dst230, prp240, cls240, dst240, prp250, cls250, dst250, prpBLT, clsBLT, dstBLT,

class       : RasterBrick 
dimensions  : 2175, 2464, 5359200, 1  (nrow, ncol, ncell, nlayers)
resolution  : 100, 100  (x, y)
extent      : 363391, 609791, 9676038, 9893538  (xmin, xmax, ymin, ymax)
coord. ref. : +proj=tmerc +lat_0=0 +lon_0=30 +k=0.9996 +x_0=500000 +y_0=10000000 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0 
data source : D:\Documents\Graduate School\Research\Population\Analysis\RF\Working RF\data\RWA\Landcover\Derived\landcover.tif 
names       : landcover 
min values  :        11 
max values  :       240 

plot of chunk covariate_reports


MODIS 17A3 2010 Estimated Net Primary Productivity, 1km

Folder: NPP
File Name: DEFAULT: MODIS 17A3 2010
Source: United States Geological Survey (USGS)
Description: MODIS 17A3 version-55 derived estimates of net primary productivity for the year 2010, estimated for 1km pixel sizes and subset and resampled to match the available land cover and final population map output requirements.
Class: raster
Derived Covariates:
,

class       : RasterBrick 
dimensions  : 2175, 2464, 5359200, 1  (nrow, ncol, ncell, nlayers)
resolution  : 100, 100  (x, y)
extent      : 363391, 609791, 9676038, 9893538  (xmin, xmax, ymin, ymax)
coord. ref. : +proj=tmerc +lat_0=0 +lon_0=30 +k=0.9996 +x_0=500000 +y_0=10000000 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0 
data source : D:\Documents\Graduate School\Research\Population\Analysis\RF\Working RF\data\RWA\NPP\Derived\npp.tif 
names       :   npp 
min values  :     0 
max values  : 18691