points2Raster: Generation of Grid Surface Using the predicted/Interpolated Values
Description
This combines the predicted values's output with the corresponding spatial point data frame to generate the grid surface. Please use this function with the output spatial point data frame generated by genRaster
Usage
points2Raster(spoints, tarVar, dx = 2000, dy = 2000)
Arguments
spoints
Spatial point data frame. This data frame is based on the output by the function, genRaster with its predicted or interpolated value field.
tarVar
Field name such as pollutant concentration used to make the grid.