powered by
Get a watermark, to be included in a clinical visualization
getWatermark( label = "EXPLORATORY", color = "lightgrey", fontsize = 20, file = NULL, width = 800, height = 500 )
The file with the watermark (invisibly).
file
String with label for the watermark, 'EXPLORATORY' by default.
String with color for the watermark, 'lightgrey' by default.
Integer with fontsize for the watermark, 20 by default.
(optional) String with path to a file where the watermark will be exported to.
Numeric, width of the plot in pixels, 800 by default.
Numeric, height of the plot in pixels, 500 by default.
Laure Cougnaud, Kirsten van Hoorde
Other watermark helpers: addWatermark()
addWatermark()
# export a watermark to a file watermark <- tempfile(pattern = "watermark", fileext = ".png") getWatermark(file = watermark)
Run the code above in your browser using DataLab