crop_init: Crop L3 init object with an extent

Description Usage Arguments Value Examples

View source: R/crop.R

Description

Crop L3 list, returns bins that fall within the extent.

Usage

1
crop_init(x, ext)

Arguments

x

initbin object

ext

raster extent object, or object to create an extent from

Value

integer vector of bins

Examples

1
2
3
4
## Not run:  init <- initbin(24)
crop_init(init, extent(100, 110, -50, -45))

## End(Not run)

mdsumner/roc documentation built on May 22, 2019, 5:05 p.m.