I'm assuming the Raster package has what I need... I'm simply wanting to invert the colors in a Raster image.
The actual scenario is this: I want to invert the raster image returned by a ggmap call:
library(ggmap)
ggmap(get_stamenmap(maptype = "toner"))
I want to invert the colors to get a white-on-black version of the Stamen Toner map: