Description Usage Arguments Details Value Examples
lastPass
1 2 | lastPass(map, qProb, listOfZ, crit, cost, costL, nz, mdist, pErr = 0.9,
optiCrit = 2, minSize = 0.012, simplitol = 0.001, disp = 0)
|
map |
object returned by function genMap |
qProb |
probability vector used to generate quantile values |
listOfZ |
list of zoning objects (such as returned by calNei function) |
crit |
criterion value list |
cost |
cost value list |
costL |
cost per lable value list |
nz |
number of zones list |
mdist |
distance matrix list |
pErr |
equality tolerance for distance calculations |
optiCrit |
criterion choice |
minSize |
zone area threshold under which a zone is too small to be manageable |
simplitol |
tolerance for spatial polygons geometry simplification |
disp |
0: no info, 1: detailed info |
description, a paragraph
a list with components
list of zoning objects (such as returned by calNei function)
criterion value list
cost value list
cost per label value list
number of zones list
distance matrix list
1 2 3 4 5 6 7 8 | data(mapTest)
criti=correctionTree(c(0.4,0.7),mapTest,LASTPASS=FALSE)
Z=criti$zk[[1]][[1]]$zonePolygone #initial zoning
printZsurf(Z) # 8 zones with 2 small zones (7 and 8)
newRes=lastPass(mapTest,c(0.4,0.7),criti$zk[1],criti$criterion[1],
criti$cost[1],criti$costL[1],criti$nz[1],criti$mdist[1])
newZ=newRes$listOfZ[[1]][[1]]$zonePolygone
printZsurf(newZ) # 6 zones, 2 small zones were removed
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.