crop_population: Crop a Population

Description Usage Arguments Value

Description

Crop a population object to a smaller region.

Usage

1
crop_population(pop, extent, ind.return = FALSE)

Arguments

pop

A population object.

extent

A raster::extent object, or anything that can be used to crop a Raster*.

ind.return

Also return the indices of cells in pop$N that are retained?

Value

A population object, possibly with a new 'crop.inds' value.


petrelharp/landsim documentation built on May 25, 2019, 2:53 a.m.