theme_bw_nogrid: Theme for plots used in 'ggDoE'

View source: R/theme_bw_nogrid.R

theme_bw_nogridR Documentation

Theme for plots used in 'ggDoE'

Description

Theme for plots used in 'ggDoE'

Usage

theme_bw_nogrid()

Value

A simple black and white theme without grid.major and grid.minor for ggplot objects.

Examples

library(ggplot2)
data <- ToothGrowth
data$dose <- factor(data$dose,levels = c(0.5, 1, 2),
                    labels = c("D0.5", "D1", "D2"))

ggplot(data, aes(x=dose, y=len)) +
 geom_boxplot()+
 theme_bw_nogrid()

ggDoE documentation built on June 22, 2024, 7:39 p.m.