README.md

A simple plotting theme for ggplot2

This package provides the "theme_rgm" plotting theme for ggplot2. By default, it uses the freely-available Open Sans font when printing plots with Cairo.

License

This work is made available under the BSD 2-Clause license (see LICENSE).

Usage

library(themergm)

# Add the theme to an existing plot.
p <- ggplot(...) + ... + theme_rgm()

# Set the theme as the default theme.
theme_set(theme_rgm())

Install

Clone the repository (into the directory ggplot2-theme-rgm) and run:

R CMD INSTALL ggplot2-theme-rgm

Note that this package requires ggplot2 >= 2.2.0.



robmoss/ggplot2-theme-rgm documentation built on May 27, 2019, 11:58 a.m.