Learn R Programming

spsurvey (version 4.1.4)

pickFiniteSamplePoints: Select Sample Points from a Simple Features Point Object

Description

This function selects sample points from an sf object of geometry type point.

Usage

pickFiniteSamplePoints(rdx, xc, yc, dx, dy, sfobject)

Arguments

rdx

Vector of cell IDs.

xc

Vector of x-coordinates for the grid cells.

yc

Vector of y-coordinates for the grid cells.

dx

The x-axis grid cell dimension.

dy

The y-axis grid cell dimension.

sfobject

The sf point object.

Value

Vector containing feature IDs of the selected sample points.