identifyGATaggregators: Identify and Check GAT Aggregation Variables

View source: R/identifyGATaggregators.R

identifyGATaggregatorsR Documentation

Identify and Check GAT Aggregation Variables

Description

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.

Usage

identifyGATaggregators(
  shp,
  step = 4,
  agglist = NULL,
  backopt = TRUE,
  bgcol = "lightskyblue3",
  quitopt = "Quit",
  buttoncol = "cornflowerblue"
)

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.

bgcol

Text string containing UI background color.

quitopt

Text string for the cancel button.

buttoncol

Text string containing UI button color.

Examples


if (interactive()) {
identifyGATaggregators(shp = hftown)
}


ajstamm/gatpkg documentation built on Nov. 23, 2023, 9:44 a.m.