Skip to contents

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()