The construction of the regression-hub illustrates the modularity of the code. Two major pieces of the display are available directly from the underlying dataset. Calling the generic function display on the dataset without :signposts? returns a compound-view displaying the dataset information shown in Figure 2. A separate call to the generic function signposts on the dataset produces the collection of plot buttons -- this is why no separate display is produced corresponding to the stratefic node Plots of Data in Figure 1. With the data display and the data signposts in hand, the designer of the regression-hub need only construct the three buttons leading to new nodes and lay out all of these in an appropriate display as in Figure 2. The viewed-object of the resulting layout is a regression-hub object and conversely the display of Figure 2 is the result of calling display on a regression-hub object -- the collection of buttons are its signposts.
Upon entry, each node in the strategy network produces a new window containing an
interactive compound view that displays relevant information.
For most nodes, the compound view offers the user the possibility of
changing the display to show other relevant features of the underlying information.
Figure 3
Note again the loose and coarse nature of the strategy. The node that displays a fit and
which leads to diagnostics and inference can be reached from a signost in the
Linear Modelling Hub.
But it can also be reached through any view that has a fit-object
as its viewed-object. For example selecting the curve in
Figure
, the user can choose to have the underlying
fitted cubic displayed as if it had been reached through a Linear Modelling Hub.
Viewed objects, the strategic functions display and signposts are critically
important to designiong and creating a flexible strategy.
Some node displays, like the Regression Hub, contain buttons which lead directly to the next nodes in the strategy -- hence the names hub for the display, and signposts for buttons of this type. Nodes which have no signposts are said to be terminal in the strategy. Terminal nodes may be extremely interactive as, for example, in the case of the Regression plots node; they just do not provide signposts that lead to new nodes. Any number of nodes may be displayed in separate windows at the same time.
The structure of each node breaks into three distinct descriptive pieces: initial information displayed, activities available, and signposts. Aside from the Regression Hub and the Regression Plots node already discussed, the characteristics of the remaining nodes from Figure 1, as implemented by the students, are described in the appendix.