IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v017i09.html
   My bibliography  Save this article

rpanel: Simple Interactive Controls for R Functions Using the tcltk Package

Author

Listed:
  • Bowman, Adrian
  • Crawford, Ewan
  • Alexander, Gavin
  • Bowman, Richard W

Abstract

In a variety of settings it is extremely helpful to be able to apply R functions through buttons, sliders and other types of graphical control. This is particularly true in plotting activities where immediate communication between such controls and a graphical display allows the user to interact with a plot in a very effective manner. The tcltk package provides extensive tools for this and the aim of the rpanel package is to provide simple and well documented functions which make these facilities as accessible as possible. In addition, the operations which form the basis of communication within tcltk are managed in a way which allows users to write functions with a more standard form of parameter passing. This paper describes the basic design of the software and illustrates it on a variety of examples of interactive control of graphics. The tkrplot system is used to allow plots to be integrated with controls into a single panel. An example of the use of a graphical image, and the ability to interact with this, is also discussed.

Suggested Citation

  • Bowman, Adrian & Crawford, Ewan & Alexander, Gavin & Bowman, Richard W, 2007. "rpanel: Simple Interactive Controls for R Functions Using the tcltk Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 17(i09).
  • Handle: RePEc:jss:jstsof:v:017:i09
    DOI: http://hdl.handle.net/10.18637/jss.v017.i09
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v017i09/v17i09.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v017i09/rpanel_1.0-4.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v017i09/v17i09.R.zip
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v017.i09?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Hoffmann, Thomas J. & Laird, Nan M., 2009. "fgui: A Method for Automatically Creating Graphical User Interfaces for Command-Line R Packages," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 30(i02).
    2. Thiele, Jan C, 2014. "R Marries NetLogo: Introduction to the RNetLogo Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 58(i02).
    3. repec:jss:jstsof:36:i13 is not listed on IDEAS
    4. repec:jss:jstsof:30:i02 is not listed on IDEAS
    5. Amirhossein Jalali & Alberto Alvarez-Iglesias & Davood Roshan & John Newell, 2019. "Visualising statistical models using dynamic nomograms," PLOS ONE, Public Library of Science, vol. 14(11), pages 1-15, November.
    6. Martin Meermeyer, 2014. "LinRegInteractive: An R Package for the Interactive Interpretation of Linear Regression Models," Schumpeter Discussion Papers SDP14014, Universitätsbibliothek Wuppertal, University Library.
    7. David O'Donnell & Alastair Rushworth & Adrian W. Bowman & E. Marian Scott & Mark Hallard, 2014. "Flexible regression models over river networks," Journal of the Royal Statistical Society Series C, Royal Statistical Society, vol. 63(1), pages 47-63, January.
    8. Xie, Yihui, 2013. "animation: An R Package for Creating Animations and Demonstrating Statistical Methods," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 53(i01).
    9. Taylor, Benjamin M. & Davies, Tilman M. & Rowlingson, Barry S. & Diggle, Peter J., 2013. "lgcp: An R Package for Inference with Spatial and Spatio-Temporal Log-Gaussian Cox Processes," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 52(i04).

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:017:i09. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.