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

Building Bivariate Tables: The compareGroups Package for R

Author

Listed:
  • Subirana, Isaac
  • Sanz, Héctor
  • Vila, Joan

Abstract

The R package compareGroups provides functions meant to facilitate the construction of bivariate tables (descriptives of several variables for comparison between groups) and generates reports in several formats (LATEX, HTML or plain text CSV). Moreover, bivariate tables can be viewed directly on the R console in a nice format. A graphical user interface (GUI) has been implemented to build the bivariate tables more easily for those users who are not familiar with the R software. Some new functions and methods have been incorporated in the newest version of the compareGroups package (version 1.x) to deal with time-to-event variables, stratifying tables, merging several tables, and revising the statistical methods used. The GUI interface also has been improved, making it much easier and more intuitive to set the inputs for building the bivariate tables. The first version (version 0.x) and this version were presented at the 2010 useR! conference (Sanz, Subirana, and Vila 2010) and the 2011 useR! conference (Sanz, Subirana, and Vila 2011), respectively. Package compareGroups is available from the Comprehensive R Archive Network at http://CRAN.R-project.org/package=compareGroups.

Suggested Citation

  • Subirana, Isaac & Sanz, Héctor & Vila, Joan, 2014. "Building Bivariate Tables: The compareGroups Package for R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 57(i12).
  • Handle: RePEc:jss:jstsof:v:057:i12
    DOI: http://hdl.handle.net/10.18637/jss.v057.i12
    as

    Download full text from publisher

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

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v057i12/compareGroups_2.0.4.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v057i12/v57i12.R
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v057.i12?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. Gabriela Abelenda-Alonso & Laura Calatayud & Alexander Rombauts & Yolanda Meije & Isabel Oriol & Nieves Sopena & Ariadna Padullés & Jordi Niubó & Alejandra Duarte & Jaume Llaberia & Judit Aranda & Car, 2024. "Multiplex real-time PCR in non-invasive respiratory samples to reduce antibiotic use in community-acquired pneumonia: a randomised trial," Nature Communications, Nature, vol. 15(1), pages 1-10, December.
    2. Silvia Thomann & Gesche Gleichner & Sabine Hahn & Sandra Zwakhalen, 2022. "Attitudes of Nursing Staff in Hospitals towards Restraint Use: A Cross-Sectional Study," IJERPH, MDPI, vol. 19(12), pages 1-14, June.
    3. Antoni Colom & Miguel Fiol & Maurici Ruiz & Montserrat Compa & Marga Morey & Manuel Moñino & Dora Romaguera, 2018. "Association between Access to Public Open Spaces and Physical Activity in a Mediterranean Population at High Cardiovascular Risk," IJERPH, MDPI, vol. 15(6), pages 1-11, June.
    4. Pieter H. Myburgh & G. Wayne Towers & Iolanthé M. Kruger & Cornelie Nienaber-Rousseau, 2018. "CRP Genotypes Predict Increased Risk to Co-Present with Low Vitamin D and Elevated CRP in a Group of Healthy Black South African Women," IJERPH, MDPI, vol. 15(1), pages 1-16, January.
    5. Rubén Maneiro & José Luís Losada & Claudio A. Casal & Antonio Ardá, 2021. "Identification of Explanatory Variables in Possession of the Ball in High-Performance Women’s Football," IJERPH, MDPI, vol. 18(11), pages 1-14, May.
    6. Vogel, Everton & Beber, Caetano Luiz, 2021. "Sustainable Intensification Strategies for GHG Mitigation Among Heterogeneous Dairy Farms in Paraná, Brazil," 2021 Conference, August 17-31, 2021, Virtual 315219, International Association of Agricultural Economists.

    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:057:i12. 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.