raster_resample: Resample spatial configurations within a regular grid

Description Usage Arguments Details

Description

Divide region into regular grid cells and sample sites from each grid cell.

Usage

1
raster_resample(x, size = 5, n = 5, lambda = 3)

Arguments

x

a data.frame with as least lon and lat as decimal degrees as variables

size

how big (in degrees) should the grid cells for resampling be?

n

how many resampling configurations shall be computed?

lambda

lambda parameter for poisson distribution that gives count of sites per grid cells

Details

A regular grid of given size is superimposed on sampling design, and the individual plots are attributed to specific grid cells. Then, from each grid cell a poisson distributed number of sites is selected randomly, and a list of new resampled configurations of the original data is returned.


cszang/raresa documentation built on May 14, 2019, 12:27 p.m.