Description Usage Arguments Details Value Examples
zoneQ
1 | zoneQ(contourSp, iC, iE, Z, K, simplitol = 0.001)
|
contourSp |
contour line transformed into SpatialPolygons |
iC |
zone to grow |
iE |
englobing zone |
Z |
zoning geometry (list of SpatialPolygons) |
K |
zoning object (such as returned by calNei function) |
simplitol |
tolerance for spatial polygons geometry simplification |
called by optiGrow,replaces the current zone by a bigger one
a zoning geometry updated with the grown zone(list of SpatialPolygons)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | data(mapTest)
qProb=c(0.3,0.5)
criti = correctionTree(qProb,mapTest)
K = criti$zk[[2]][[1]]
Z=K$zonePolygone
plotZ(Z)
iC=4
iE=detZoneEng(iC,Z,K$zoneNModif)
envel=calFrame(iC,Z,K$zoneNModif)
sp::plot(envel,add=TRUE,col="blue")
Qseq = genQseq(qProb,K,mapTest,iC,iE)
resi = geozoning:::findCinZ(iC,Z,K,mapTest,Qseq[5],envel)
Zopti=geozoning:::zoneQ(resi$contourSp,iC,iE,Z,K)
plotZ(Zopti)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.