Learn R Programming

SLEMI (version 1.0.2)

aux_theme_publ: Tuning GGplot Themes

Description

Internal, auxiliary functions

Usage

aux_theme_publ(base_size = 12, base_family = "sans", version = 1)

Arguments

base_size

integer that sets the default size of font used in the plot

base_family

character that indicates what type of font should be used

version

integer that changes the characteristic of the plot, values 1,2 and 3 accepted.

Details

This function changes the theme of plots created with the use of ggplot package

Examples

Run this code
library(ggplot2)
ggplot(data=data.frame(x=1:10,y=rnorm(10)),aes(x=x,y=y))+
geom_point()+SLEMI:::aux_theme_publ(version=2)

Run the code above in your browser using DataLab