Learn R Programming

geozoning (version 1.0.0)

dispZ: dispZ

Description

dispZ

Usage

dispZ(step, matVal, nbLvl = 0, zonePolygone = NULL, K = NULL,
  colBreaks = 0, texMain = "", boundary = NULL, id = FALSE,
  valQ = NULL, palCol = colorRampPalette(c("brown", "yellow")),
  noXY = FALSE, iZ = 0, mu = 1, cex = 1, ptz = NULL)

Arguments

step

grid resolution

matVal

data frame of values

nbLvl

number of contour lines to generate

zonePolygone

zoning geometry (list of SpatialPolygons)

K

zoning object, as returned by the calNei function

colBreaks

if vector of length 1 number of color breaks, or else color breaks themselves

texMain

main title

boundary

map boundary (list with x and y values)

id

logical value (if TRUE display zone ids on plot)

valQ

quantile values to use for contour lines

palCol

color palette

noXY

if TRUE do not draw axes

iZ

index of zone to outline in red

mu

mu=1-only display zone number or id, mu=2-also display mean zone value

cex

text size

ptz

zone id location, if NULL automatically find the best locations

Value

an empty value

Details

plots a color image representation of values and zones

Examples

Run this code
# NOT RUN {
data(mapTest)
data(resZTest)
K=resZTest
Z=K$zonePolygone
dispZ(mapTest$step,mapTest$krigGrid)
# }

Run the code above in your browser using DataLab