Description Usage Arguments Details Value
Creates a 'RasterLayer' from an input dataframe of point locations and a base RasterLayer that sets the CRS and cell locations for the output
1 | CreateRasterFromPointsAndBase(df, value, x, y, buffer, base)
|
df |
input dataframe with columns for lat, long, and value |
value |
column name with data for cell values |
x |
column name for latitude coordinates |
y |
column name for longitude coordinates |
buffer |
distance in cell units to buffer around 'df' points for output Rasterlayer. If NULL(default), the entire extent of the base parameter is used for the output Rasterlayer. |
base |
raster that is used to rasterize() the input data, default is set to a RasterLayer specific to my BAEA project |
Input latitude and longitude must match the CRS of base raster. Returned 'RasterLayer' has same CRS as base raster.
A 'RasterLayer' object with values in all the cells that had locations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.