From 572e4ec9f58ce2d609c93398307c6ae5347efe79 Mon Sep 17 00:00:00 2001 From: Chris Sobczak Date: Fri, 5 Jun 2026 18:23:45 -0700 Subject: Add R package files --- R/gg_csobczak.R | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 R/gg_csobczak.R (limited to 'R/gg_csobczak.R') diff --git a/R/gg_csobczak.R b/R/gg_csobczak.R new file mode 100644 index 0000000..97448a3 --- /dev/null +++ b/R/gg_csobczak.R @@ -0,0 +1,13 @@ +#' Add Formatting +#' +#' This adds standard formating to my ggplots. +#' @param p A ggplot object to add formatting to. +#' @keywords ggplot plot p +#' @export +#' @examples +#' df <- data.frame(x=rnorm(10), y=rnorm(10)) +#' p <- ggplot(data=df, aes(x=x, y=y)) + geom_point() +#' p <- gg_csobczak(p) +gg_csobczak <- function(p){ + p + theme_classic() +} -- cgit v1.2.3