Article Text

other Versions

Download PDFPDF
TableOne: an online web application and R package for summarising and visualising data
  1. Agapios Panos1,
  2. Dimitris Mavridis1,2
  1. 1Department of Primary Education, University of Ioannina, Ioannina, Greece
  2. 2Université Paris Descartes, Faculté de Médecine, Paris, France
  1. Correspondence to Professor Dimitris Mavridis, Department of Primary Education, University of Ioannina, Ioannina, Greece; dmavridi{at}


Objective To develop an easy-to-use R package and web application that summarises baseline characteristics across different arms of a clinical trial or different exposures.

Methods Tables and figures are the efficient means of visualising, communicating and summarising data. It is common in comparative effectiveness research to provide a synopsis of characteristics and outcomes across the various treatment groups. The popularity of such a table has earned it a name and we simply call it the ‘TableOne’, as it is usually the first TableOne encounters looking at a published clinical trial. Such a table includes not only descriptive statistics for each group but also appropriate tests (p values and 95% CIs) for checking for differences across groups. We have developed an R package (called TableOne) (accessible through th

at quickly summarises and compares results across different groups. We have also extended it to an online web application that is easily handled by the researcher. All computations are done in R and plots are produced using the plotly library. We provide a detailed description on how to use the web application.

Results The application guides the user in a step by step format (wizard) and it is accessible through any browser in the following link ( Finally, appropriate interactive plots are provided for each variable.

Conclusions This easy-to-use web application will help researchers quickly and easily to visualise differences across treatment groups or different exposures.

Statistics from


  • Contributors AP programmed the web application and R code under the guidance of DM. DM wrote the manuscript and AP made comments.

  • Funding The authors have not declared a specific grant for this research from any funding agency in the public, commercial or not-for-profit sectors.

  • Competing interests No, there are no competing interests.

  • Patient consent for publication Not required.

  • Provenance and peer review Not commissioned; externally peer reviewed.

  • Data availability statement Data are available in a public, open access repository (

Request Permissions

If you wish to reuse any or all of this article please use the link below which will take you to the Copyright Clearance Center’s RightsLink service. You will be able to get a quick price and instant permission to reuse the content in many different ways.