rdbuf: Extract n randomly distributed subplots inside a given raster

Description Usage Arguments Value Author(s)

Description

Randomly select N square subplots inside a larger reference raster

Usage

1
rdbuf(object, n=5, size)

Arguments

object

A raster object.

n

The number of subplots to create. default set to 5.

size

The size of the side of the (square) subplot. units must correspond to that of the raster object.

Value

A list of 2 elements.

extent

A list of n elements, each of them being an extent object corresponding to a subplot randomly located inside the reference raster.

points

A list of n elements, each of them being the coordinates of the sampling point.

Author(s)

Jean-Pierre Rossi


ECPaysage documentation built on May 2, 2019, 4:35 p.m.