latticeパッケージのplotを白黒にする

メモ。白黒かつ背景は透明。

library(lattice)
ltheme <- canonical.theme(color = FALSE) ## in-built B&W theme
ltheme$strip.background$col <- "transparent" ## change strip bg
lattice.options(default.theme = ltheme) ## set as default

ソース