diff options
Diffstat (limited to 'R/gg_csobczak.R')
| -rw-r--r-- | R/gg_csobczak.R | 6 |
1 files changed, 4 insertions, 2 deletions
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) } |
