R/tema_blanco.R

tema_blanco <- theme(
  panel.background = element_rect(fill = "transparent"), # bg of the panel
  plot.background = element_rect(fill = "transparent", color = NA), # bg of the plot
  panel.grid.major = element_blank(), # get rid of major grid
  panel.grid.minor = element_blank(), # get rid of minor grid
  legend.background = element_blank(), # get rid of legend bg
  legend.box.background = element_blank(), # get rid of legend panel bg
  legend.key = element_blank(), # get rid of key legend fill, and of the surrounding
  axis.line.x = element_blank(),
  axis.ticks.x=element_blank(),
  axis.text.x=element_blank(),
  axis.line.y = element_blank(),
  axis.ticks.y=element_blank(),
  axis.text.y=element_blank(),
  legend.title = element_blank()
)

Try the estadistica package in your browser

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

estadistica documentation built on May 31, 2023, 9:43 p.m.