Description Usage Arguments Value Creation notes
View source: R/rasterWindowExtract.R
Extracts rasters using a defined radius from a cell location
1 | windowExtract(xf, yf, radius = 1, xydata)
|
xf, yf |
Input cellIDs that you are extracting from. |
radius |
numeric. radius used to define extractWindow |
xydata |
data.frame object that contains the correct headers ('x', 'y', (valcolumns)). Will need to seperate out this function and create a class for it. |
Returns a data.frame with the raster values extracted at the current radius.
First created on 2019-Mar-6 in the Lab4inR.R and
select.window.R scripts in my IBM class folder of the purdueResearch git.
They were developed using base code from CommEcol::select.window()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.