The operation mkgrp creates a basic graphic structure. The graphic structure can include several subgraphs for a data record which are created manually (addsg) or according to a TS-SOM or a data frame.
The commands setgdat and setgcld connect a data and classified data to a graphic structure. Some graphical operations use these as default parameters. In the case of TS-SOMs, a graphic data includes any variables for neurons, and a classified data is a SOM classification.
Example (ex7.1): The first command sequence creates a TS-SOM and classified data and computes class statistics for neurons.
NDA> somtr -d boston -sout som1 -l 5 NDA> somcl -d boston -s som1 -cout cld1 NDA> clstat -d boston -c cld1 -dout clsta -avg -min -max ...
Then the graphic structure "grp1" is created based on the TS-SOM "som1". Both statistics and classified data are connected to the graphic structure.
... NDA> mkgrp grp1 -s som1 NDA> setgdat grp1 -d clsta NDA> setgcld grp1 -c cld1 ...
Example (ex7.2): In this example, a graphic structure is created for a data frame when each data record in the frame will have its own subgraph.
load boston.dat selrec -d boston -dout highCrim -expr 'boston.crim' > 35; mkgrp grp1 -d highCrim ...