Learn R Programming

kobe (version 1.3.2)

theme_ms: ggplot2 theme

Description

A ggplot2 theme for presentation of plots

Usage

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

Arguments

base_size
numeric: default font size.
base_family
character; default font.
...
any other arguments.

Source

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

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.

Examples

Run this code
 ## 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)

Run the code above in your browser using DataLab