sampleField: Sample data points within specified field.

sampleFieldR Documentation

Sample data points within specified field.

Description

This function samples a specified SpatVector, reducing the data size.

Usage

sampleField(field, shape = NULL, size = 0.1, cex = 1)

Arguments

field

SpatVector. The field to be sampled.

shape

a specific area inside the field to be sampled. If shape=NULL, all field data will be sampled.

size

the proportion of original data to be sampled (must be values between 0 and 1).

cex

point size. Please check help("points").

Details

sampleField

Value

the sampled field is returned in form SpatVector.


filipematias23/cleanRfield documentation built on Aug. 6, 2023, 12:26 a.m.