graphZoo-package: Graph formatting for graphzoo.tumblr.com

Description Details Author(s) References Examples

Description

This package contains a short set of functions to facilitate the formatting of graphs for the blog graphzoo.tumblr.com. It is unlikely to be helpful to anyone but the author of this blog :-)

Details

Package: graphZoo
Type: Package
Version: 0.1
Date: 2014-05-15
License: GPL v3

Author(s)

Simon Garnier - @sjmgarnier

Maintainer: Simon Garnier <[email protected]>

References

The functions in this package require ggplot2 and gridExtra to work properly.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
require(ggplot2)

dat <- data.frame(x = 0:100,
                  y = 0:100 * 2 + rnorm(101, sd = 10))
g <- ggplot(data = dat,
            aes(x = x, y = y)) + 
  geom_point() + geom_smooth(method = "lm") +
  theme_graphzoo()
g <- addBanner(g, l.txt = "GRAPHZOO.TUMBLR.COM", r.txt = "SOURCE: NOSOURCE")
g

sjmgarnier/graphZoo documentation built on May 30, 2019, 12:05 a.m.