Description Usage Arguments Value Examples
View source: R/mergeraster2file.R
Merge new predictor variables (rasters)
1 | mergeraster2file(tomerge, rasterfile, lon_lat_name, varname)
|
tomerge |
the dataframe to merge the raster files to |
rasterfile |
the R raster object (raster package) to merge |
lon_lat_name |
a vector of the names of longitude and latitude. Commonly Longitude first and latitude second. |
varname |
the name of the new variable |
a dataframe with merged variables
1 | merged = mergeraster2file(merged, c("lon","lat"), 'elevation.map', 'elevation')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.