Graphical User Interface for the apt Package

Description

This graphical user interface (GUI) contains most functions in the apt package. Users can call these functions on this interface.

Usage

1
guiApt(pos = 1)

Arguments

pos

specifying where the seven tabs should be placed: bottom (pos = 1; default), left (pos = 2), top (pos = 3), or right (pos = 4).

Details

The gWidgets package is used to create this GUI. The objective in this application is to develop a GUI for the apt package and allow users to call individual functions on the interface and conduct threshold cointegration analysis in an intuitive way. The GUI has menus and toolbars at the top. Then seven tabbed notebook container widgets are used to hold messages and individual function calls.

The inputs are two single time series data, and they should be processed within R first before a GUI can be used for analyses. Outputs can be displayed within the interface, but for simplicity, the R console is used to display all outputs in this application.

See guiCor for package installation issues.

Value

No value returnd from this function call. A GUI is generated as the side effect.

Author(s)

Changyou Sun (cs258@msstate.edu)

References

Lawrence, M.F., and J. Verzani. 2012. Programming graphical user interfaces in R. Ed. CRC Press. 466 P.

See Also

guiCor

Examples

1
2
3
4
5
6
7
8
9
  ## Not run: 
    library(RGtk2); library(gWidgetsRGtk2)
    options(guiToolkit = "RGtk2")  # may need this for some computers
    
    data(daVich); prVi <- daVich[, 1] ; prCh <- daVich[, 2]    
    guiApt()
    guiApt(2) # tabs on the left side
  
## End(Not run)