This function opens a dialog window for the user to select which variables in the shapefile should be aggregated and what their minimum and maximum values should be using the function inputGATaggregators. It checks the resulting numeric values to ensure they are numbers and if "NONE" is selected for the second aggregation variable, it assigns the values for the first aggregation variable to the values for the second aggregation variable.

identifyGATaggregators(shp, step = 4, agglist = NULL, backopt = TRUE)

Arguments

shp

Spatial layer.

step

Integer step in GAT, for help reference.

agglist

List of aggregation variables, with minimum and maximum values, if pre-selected.

backopt

Boolean denoting whether to include the back button.

Examples


if (interactive()) {
identifyGATaggregators(shp = hftown)
}
#> $var1
#> [1] "cancel"
#> 
#> $minval1
#> [1] 0
#> 
#> $maxval1
#> [1] "none"
#> 
#> $var2
#> [1] "NONE"
#> 
#> $minval2
#> [1] "none"
#> 
#> $maxval2
#> [1] "none"
#>