summaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorChris Sobczak <chris@sobczak.family>2026-06-05 18:23:45 -0700
committerChris Sobczak <chris@sobczak.family>2026-06-05 18:23:45 -0700
commit572e4ec9f58ce2d609c93398307c6ae5347efe79 (patch)
treedc7814d0619e393151f053ece9be0a80a573da0f /R
parentce8bd72d8698e59087f10ebcd43478b508eb9c91 (diff)
Add R package files
Diffstat (limited to 'R')
-rw-r--r--R/gg_csobczak.R13
1 files changed, 13 insertions, 0 deletions
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()
+}