R/ggplotmlx.R

Defines functions ggplotmlx

Documented in ggplotmlx

#' wrapper for ggplot
#' 
#' wrapper around \code{\link[ggplot2]{ggplot}} with a custom theme
#' 
#' @param \dots parameters passed to \code{\link[ggplot2]{ggplot}}
#' 
#' @return see \code{\link[ggplot2]{ggplot}}
#' @importFrom ggplot2 ggplot theme_bw theme element_rect
#' @importFrom grDevices rgb
#' @export         
ggplotmlx <- function(...) {
  ggplot(...) + theme_bw() + theme(plot.background = element_rect(fill=rgb(1,1,1))) 
}

Try the RsSimulx package in your browser

Any scripts or data that you put into this service are public.

RsSimulx documentation built on June 22, 2024, 9:36 a.m.