Learn R Programming

geozoning (version 1.0.0)

dispZmap: dispZmap

Description

dispZmap

Usage

dispZmap(map, Z = NULL, qProb = NULL, valbp = NULL, scale = NULL,
  lev = 20, palCol = colorRampPalette(c("brown", "yellow")),
  legend.width = 1, parG = NULL, ptz = NULL)

Arguments

map

map object returned by genMap function

Z

zoning geometry (list of SpatialPolygons)

qProb

quantile associated probability vector

valbp

values used for boxplots

scale

field scale

lev

number of color levels

palCol

color palette

legend.width

relative width of legend

parG

graphics parameters (result of call to par)

ptz

zone id location, if NULL automatically find the best locations

Value

an empty value

Details

plots a color representation of values and zones

Examples

Run this code
# NOT RUN {
seed=80
data(mapTest)
ZK=initialZoning(c(0.5,0.7),mapTest)
K=ZK$resZ
Z=K$zonePolygone
#order zone ids by attribute mean value
ord=order(K$meanZone)
  Z=orderZ(Z,ord)
  plotZ(Z,id=TRUE)
# }

Run the code above in your browser using DataLab