addCompanyLogo: Add company logo to graph

Description Usage Arguments Value Examples

View source: R/addCompanyLogo.R

Description

addCompanyLogo adds company logo to given graph

Usage

1
2
(file.name, file.width, file.height,
 watermark.path, x.coordinate, y.coordinate, width, plot.unit)

Arguments

file.name

name of the file

file.width

name of the graph PNG file

file.height

directory to which the graph should be saved to

watermark.path

directory to the watermark logo

x.coordinate

x coordinates of the position of watermark

y.coordinate

y coordinates of the position of watermark

width

width of the watermark

plot.unit

unit used in function

Value

png with added watermark

Examples

1
2
3
test = system.file("extdata", "test.png", package = "ShinyApp")
logo = system.file("extdata", "logo.png", package = "ShinyApp")
(test, 1200, 800, logo, 0.84, 0.17, 0.02, 'npc')

karolgileta/ShinyApp documentation built on May 18, 2019, 10:15 a.m.