DataInZone: Classify data in management zones

View source: R/data_in_zone.R

DataInZoneR Documentation

Classify data in management zones

Description

Classify data in management zones of maps obtained with the Zoning algorithms.

Usage

DataInZone(data, maps, use_id = FALSE)

Arguments

data

sp::SpatialPointsDataFrame or sp::SpatialMultiPointsDataFrame object, The input data.

maps

sp::SpatialPolygonsDataFrame object, or a list of sp::SpatialPolygonsDataFrame, The map or list of maps to process.

use_id

boolean, Use the id attribute of the zone in the map if TRUE, or the order index (1-based indexed) of the zone in the map if FALSE (the default).

Value

sp::SpatialPointsDataFrame or sp::SpatialMultiPointsDataFrame object depending of the type of input data. Return table of membership of each point in the zones for each map, the input data and a column for each map processed (named "map{number of zones in the map}") with the class of each point.


GeoFIS documentation built on Sept. 11, 2024, 8:58 p.m.