Learn R Programming

geozoning (version 1.0.0)

loopQ1: loopQ1

Description

loopQ1

Usage

loopQ1(map, disp = 1, step = 0.075, minSize = 0.012, minSizeNG = 0.001,
  QUIET = FALSE)

Arguments

map

object returned by function genMa

disp

0: no info, 1: some info, 2: detailed info

step

loop increment

minSize

zone area threshold under which a zone is too small to be manageable

minSizeNG

zone area threshold under which a zone will be removed

QUIET

run in silence-no display

Value

a matrix with 6 columns and as many rows as loop elements. Columns contain the following values calculated for each quantile vector: criterion, cost, cost per label, number of zones, quantile associated probability values and number of non degenerated quantiles.

Details

exploratory loop on probability values associated to quantiles. Performs map zonings for each value of the 1 quantile loop (yielding a 2-label zoning). see also loopQ2,loopQ3, loopQ4, loopQ5 for loops with a different number of labels

Examples

Run this code
# NOT RUN {
# not run
# }

Run the code above in your browser using DataLab