InPolypoints: InPolypoints Fill a polygon with random points inside.

Description Usage Arguments Value

View source: R/InPolypoints.R

Description

InPolypoints Fill a polygon with random points inside.

Usage

1
InPolypoints(shapefile, nPoints, type)

Arguments

shapefile

A polygon file

nPoints

Number of points inside the polygon

type

character; "random" for completely spatial random; "regular" for regular (systematically aligned) sampling; "stratified" for stratified random (one single random location in each "cell"); "nonaligned" for nonaligned systematic sampling (nx random y coordinates, ny random x coordinates); "hexagonal" for sampling on a hexagonal lattice; "clustered" for clustered sampling; "Fibonacci" for Fibonacci sampling on the sphere (see references).

Value

Spatial points


FrankBaut/geospatial documentation built on Nov. 27, 2020, 12:11 p.m.