IDEAS home Printed from https://ideas.repec.org/p/bwu/schdps/sdp15006.html
   My bibliography  Save this paper

Creating Reproducible Publication Quality Graphics with R: A Tutorial

Author

Listed:
  • Martin Meermeyer

    (Institut für Empirische Wirtschafts- und Sozialforschung Westfälische Hochschule, Bocholt, Germany)

Abstract

The publication of results of an empirical analysis often includes graphical representations. One of the particular strengths of the statistical computing language and environment R are the graphical capabilities. Beside the relatively simple base graphic system a number of more sophisticated alternative graphic systems are available within R. Compared to these the base graphic system is easy to use but nevertheless highly customizable and therefore advantageous for many research projects. However, even in the base graphic system the number of graphical functions and parameters is large. Due to this it can be hard to find the functions and parameters which must be used to customize a graphic for publication purposes. This paper provides a brief tutorial for this along with a set of simple rules how to structure the code to achieve a sufficient level of reproducibility for a data analysis in general and for associate graphical results in specific. The paper summarizes experiences from a R tutorial hold at the University of Wuppertal for a number of times. The code snippets in the text and the code to reproduce the given examples in the appendix is copy-and-paste-ready and can easily be adopted for own tasks.

Suggested Citation

  • Martin Meermeyer, 2015. "Creating Reproducible Publication Quality Graphics with R: A Tutorial," Schumpeter Discussion Papers SDP15006, Universitätsbibliothek Wuppertal, University Library.
  • Handle: RePEc:bwu:schdps:sdp15006
    as

    Download full text from publisher

    File URL: https://elekpub.bib.uni-wuppertal.de/ubwhsmig/download/pdf/7351163?originalFilename=true
    Download Restriction: no
    ---><---

    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:bwu:schdps:sdp15006. 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: Frank Hoffmann (email available below). General contact details of provider: http://elpub.bib.uni-wuppertal.de .

    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.