Specify background colour with knitr

slum_plot_background(palette = "dark", name = "pagecolour")

Arguments

palette

The palette name (default = "dark")

name

The colour (default = "pagecolour")

Details

Convenience function that uses knitr to pass a background colour argument to the graphics device