summaryrefslogtreecommitdiff
path: root/R/gg_csobczak.R
blob: 28176372e24723e7c6111ad2e498c200bf20b27b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#' Add Formatting
#'
#' This adds standard formating to my ggplots.
#' @param p A ggplot object to add formatting to.
#' @keywords ggplot plot p
#' @export
#' @import ggplot2
#' @examples
#' df <- data.frame(x=rnorm(10), y=rnorm(10))
#' p <- ggplot2::ggplot(data=df, ggplot2::aes(x = x, y = y)) + ggplot2::geom_point()
#' p <- gg_csobczak(p)
gg_csobczak <- function(p){
	p <- p + ggplot2::theme_classic()
	return(p)
}