findZCenterpt: findZCenterpt

Description Usage Arguments Details Value Examples

Description

findZCenterpt

Usage

1
findZCenterpt(data, K, num = NULL)

Arguments

data

SpatialPointsDataFrame

K

zoning object, as returned by the calNei function

num

zone number or NULL for all zones

Details

find point within zone for pretty labelling

Value

a matrix of x and y coordinates for chosen points with as many rows as zones

Examples

1
2
3
4
5
6
7
data(mapTest)
# run zoning with 2 quantiles corresponding to probability values 0.4 and 0.7,
# saving initial zoning and last level zonings
criti=correctionTree(c(0.4,0.7),mapTest,SAVE=TRUE)
K=criti$zk[[2]][[1]]
data=mapTest$krigData
geozoning:::findZCenterpt(data,K)

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