jiho/autoplot: Automatic plotting with ggplot2

ggplot2 is a versatile plotting package which allows to produce almost any kind of plot from data stored as a data.frame, by combining unit elements. However, it requires the user to design the plot entirely, from scratch. Many R functions for statistical analyses (linear models, factorial analyses, etc.) output objects of a given class and allow to easily plot classic diagnostics using plot(), by defining a specialized method for this generic function. This package aims at reproducing this functionality in ggplot2 while benefiting from its improved versatility. It provides two sets of methods : (i) the fortify() methods extract data from the original object and format it as a data.frame; (ii) the autoplot() methods use these data.frames and leverage ggplot2 to produce diagnostic plots.

Getting started

Package details

AuthorJean-Olivier Irisson
MaintainerJean-Olivier Irisson <irisson@normalesup.org>
LicenseGPL-3
Version0.1
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("jiho/autoplot")
jiho/autoplot documentation built on May 19, 2019, 9:29 a.m.