Description Details Author(s) References Examples
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 :-)
Package: | graphZoo |
Type: | Package |
Version: | 0.1 |
Date: | 2014-05-15 |
License: | GPL v3 |
Simon Garnier - @sjmgarnier
Maintainer: Simon Garnier <garnier@njit.edu>
The functions in this package require ggplot2 and gridExtra to work properly.
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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.