Skip to content

hadley/ggplot1

Repository files navigation

ggplot1

Travis-CI Build Status

ggplot1 is an update of ggplot, the package that preceded ggplot2. ggplot1 is mostly made available out of historical interest, to illustrate how my thinking about API design in R has evolved over the years. I've made a few minor tweaks to the package, mostly fixing small things that obscure the interesting parts of the API.

ggplot had 7 CRAN releases starting with 0.2.2 in April 2006, and finishing with 0.4.2 in October 2008.

Installation

You can install ggplot1 from github with:

# install.packages("devtools")
devtools::install_github("hadley/ggplot1")

Usage

library(ggplot1)

mtcars %>% 
  ggplot(list(x = mpg, y = wt)) %>% 
  ggpoint()

mtcars %>% 
  ggplot(list(x = mpg, y = wt)) %>% 
  ggpoint(list(colour = gear)) %>% 
  scbrewer()

About

Before there was ggplot2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages