Learn R Programming

geozoning (version 1.0.0)

Identify: Identify

Description

Identify

Usage

Identify(id, Z)

Arguments

id

zone identifier (character vector)

Z

zoning geometry (list of SpatialPolygons)

Value

the zone number

Details

get the number of a zone with a given identifier in a zoning this is necessary because correction procedures may remove zones from initial#' zoning. Therefore zone numbers change, but identifiers are conserved.

Examples

Run this code
# NOT RUN {
data(mapTest)
criti=correctionTree(c(0.4,0.5),mapTest,SAVE=TRUE)
Z=criti$zk[[2]][[1]]$zonePolygon
Identify(6,Z)
# }

Run the code above in your browser using DataLab