theme_piss: Homogeneous theme for ggplots

Description Usage Arguments Details Value Author(s) Examples

Description

Theme function for our builded ggplots. Useful get coherent and similar colours, themes,... for all plots. Also useful to decrease the number of

Usage

1
2
theme_piss(size_p = 18, size_c = 14, size_l = 12, theme = theme_bw(),
  ...)

Arguments

size_p

Size of the plot's title.

size_c

Size of the axis' title.

size_l

Size of the legend's title.

theme

ggplot's theme for the plot. Set it to NULL if you want put your own theme construction in the "..."

Details

This function is useful to decrease the amount of code for each ggplots generated as this thesis will use exclusive ggplot2 for the plots. Values of other parameters such as colours could be changed inside the function.

Value

A personalized ggplot2 theme object to add to every builded plots.

Author(s)

Antoine Pissoort, antoine.pissoort@student.uclouvain.be

Examples

1
2
3
4
# To generate the PP-plot ! See code for more details
ggplot(data = data.frame(empirical,model_est), aes(x=empirical,y=model_est)) +
geom_point(shape = 1, col = "#33666C") + geom_abline(intercept=0,slope=1,col="red") +
theme_piss() +  ggtitle("Probability plot")

proto4426/PissoortThesis documentation built on May 26, 2019, 10:31 a.m.