sp_sample_n: Function to randomly sample n features in a spatial object.

View source: R/sp_sample_n.R

sp_sample_nR Documentation

Function to randomly sample n features in a spatial object.

Description

Function to randomly sample n features in a spatial object.

Usage

sp_sample_n(sp, n)

Arguments

sp

Spatial object.

n

Number of features to sample.

Author(s)

Stuart K. Grange

See Also

set.seed


skgrange/gissr documentation built on Feb. 24, 2024, 2:55 p.m.