Description Usage Arguments Value
View source: R/extractValues.R
Extract values from raster (DEM)
1 | extractTopo(ls_dem, dt_ref, col_names = c("elevation", "slope"))
|
ls_dem |
a file name of DEM with 2 bands (elevation and slope in this order). |
dt_ref |
a dataframe of reference data for RF. This should contain column 'x', 'y', and 'date'. x and y should indicate locations in the same crs as Landsat or Sentinel. 'date' should indicate the timing of disturbance. If there is no disturbance at that location, use NA. |
col_names |
names of bands. Should be elevation and slope. |
a dataframe of data values for each location.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.