theme_ms: ggplot2 theme

Description Usage Arguments Details Source Examples

View source: R/ggplotFL-theme.R

Description

A ggplot2 theme for presentation of plots

Usage

1
theme_ms(base_size=12, base_family="", ...) 

Arguments

base_size

numeric: default font size.

base_family

character; default font.

...

any other arguments.

Details

The ggplot2 "grammar of graphics" package includes "Themes" for ggplot2 charts, making it possible to define and re-use your own preferences for title fonts and sizes, tick marks, grid color, etc.

Source

see https://github.com/hadley/ggplot2/wiki/Themes

Examples

1
2
3
4
5
6
7
 ## Not run: 
library(ggplot2)
data(prj)
ggplot(subset(prj$trks, Percentile=="50%"))             + 
           geom_line(aes(year,stock,group=TAC,col=TAC)) +
           theme_ms()
## End(Not run)

kobe documentation built on May 30, 2017, 12:15 a.m.