Learn R Programming

apt (version 2.5)

guiApt: 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

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).

Value

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

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.

References

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

See Also

guiCor

Examples

Run this code
# NOT RUN {
  
# }
# 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
  
# }

Run the code above in your browser using DataLab