Learn R Programming

briskaR (version 1.0.4)

brk_newPoints: Simulate new points on a specific sf object

Description

Simulate new points on a specific sf object. See st_sample for details.

Usage

brk_newPoints(sf, size = 100)

Arguments

sf

object of class sf or sfc

size

sample size(s) requested; either total size, or a numeric vector with sample sizes for each feature geometry. When sampling polygons, the returned sampling size may differ from the requested size, as the bounding box is sampled, and sampled points intersecting the polygon are returned.