plotM: plotM

Description Usage Arguments Details Value Examples

Description

plotM

Usage

1
2
3
plotM(map, Z = NULL, lab = NULL, byLab = TRUE, quantile = NULL,
  crit = NULL, cost = NULL, bestCrit = NULL, bestCost = NULL,
  newCost = NULL, line = 0, cex = 2)

Arguments

map

object returned by function genMap

Z

list of zones, each zone is a SpatialPolygons.

lab

label of each zones.

byLab

boolean, if TRUE display the label of each zone, else display the zone number.

quantile

probability vector used to generate "Z". This will be displayed in the title of the plot.

crit

criterion value corresponding to "Z. This will be displayed in the title of the plot.

cost

cost value corresponding to "Z". This will be displayed in the title of the plot.

bestCrit

best criterion value. This will be displayed in the title of the plot.

bestCost

best cost value. This will be displayed in the title of the plot.

newCost

new cost value. This will be displayed in the title of the plot.

line

position of the title. if negative, the title goes down, otherwise, goes up.

cex

text size

Details

plot the map in color with zones and details.

Value

an empty value

Examples

1
2
3
4
5
map=geozoning::mapTest
ZK=initialZoning(qProb=c(0.55,0.85),map)
Z=ZK$resZ$zonePolygone # list of zones
lab = ZK$resZ$lab # label of zones
plotM(map = map,Z = Z,lab = lab, byLab = FALSE)

geozoning documentation built on May 2, 2019, 9:43 a.m.