getWatermark {clinDataReview}R Documentation

Get a watermark, to be included in a clinical visualization

Description

Get a watermark, to be included in a clinical visualization

Usage

getWatermark(
  label = "EXPLORATORY",
  color = "lightgrey",
  fontsize = 20,
  file = NULL,
  width = 800,
  height = 500
)

Arguments

label

String with label for the watermark, 'EXPLORATORY' by default.

color

String with color for the watermark, 'lightgrey' by default.

fontsize

Integer with fontsize for the watermark, 20 by default.

file

(optional) String with path to a file where the watermark will be exported to.

width

Numeric, width of the plot in pixels, 800 by default.

height

Numeric, height of the plot in pixels, 500 by default.

Value

The file with the watermark (invisibly).

Author(s)

Laure Cougnaud, Kirsten van Hoorde

See Also

Other watermark helpers: addWatermark()

Examples

# export a watermark to a file
watermark <- tempfile(pattern = "watermark", fileext = ".png")
getWatermark(file = watermark)

[Package clinDataReview version 1.6.1 Index]