From 617b79fb3e0707b9bd0b446db73a2b1d7f6f3f94 Mon Sep 17 00:00:00 2001 From: Chris Sobczak Date: Wed, 10 Jun 2026 15:58:27 -0700 Subject: Add corplot --- R/gg_csobczak.R | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'R/gg_csobczak.R') diff --git a/R/gg_csobczak.R b/R/gg_csobczak.R index 97448a3..2817637 100644 --- a/R/gg_csobczak.R +++ b/R/gg_csobczak.R @@ -4,10 +4,12 @@ #' @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 <- ggplot(data=df, aes(x=x, y=y)) + geom_point() +#' p <- ggplot2::ggplot(data=df, ggplot2::aes(x = x, y = y)) + ggplot2::geom_point() #' p <- gg_csobczak(p) gg_csobczak <- function(p){ - p + theme_classic() + p <- p + ggplot2::theme_classic() + return(p) } -- cgit v1.2.3