| nr_crop | R Documentation |
Crop a section out of a native raster image into a new image
nr_crop(nr, x, y, w, h)
nr_crop2(nr, loc)
nr |
native raster image |
x, y, w, h |
dimensions of cropped section |
loc |
dimensions of cropped section. A vector of 4 values
i.e. |
New native raster image
nr <- deer[[1]]
dim(nr)
plot(nr)
nr2 <- nr_crop(nr, 16, 0, 16, 16)
dim(nr2)
plot(nr2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.