View source: R/raster_extract.R
raster_extract | R Documentation |
This is s quick convenience function that takes a 'data.frame' and a raster and returns the extracted values as a single column.
raster_extract(
x,
raster,
Latitude = "Latitude",
Longitude = "Longitude",
CRS = 4326
)
x |
A data frame object. |
raster |
A raster from which you can extract the values |
Latitude |
The name of the column holding the latitude values (default = "Latitude") |
Longitude |
The name of the column holding the longitude (default = "Longitude") |
CRS |
The coordinate reference system (default = 4326) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.