R/nolegendgg.R

Defines functions nolegendgg

Documented in nolegendgg

#' Remove the legend of an existing ggplot
#'
#' @param plot
#'
#' @export
nolegendgg<-function(plot){

  return(plot + theme(legend.position="none"))
}
MoisesExpositoAlonso/moiR documentation built on Dec. 24, 2021, 10:12 p.m.