Add a logo into an image

add_logo(plot_path, logo_path, logo_position = c("top right", "top left",
  "bottom right", "bottom left"), logo_scale = 10)

Arguments

plot_path

image path.

logo_path

logo image path.

logo_position

the position of logo within the image.

logo_scale

the size of logo relative to the image.

Examples

# NOT RUN {
add_logo(
# }
# NOT RUN {
    plot_path = "man/figures/logo.png",
# }
# NOT RUN {
    logo_path = "man/figures/jiaxiang.png",
# }
# NOT RUN {
    logo_position = "bottom right",
# }
# NOT RUN {
    logo_scale = 5)
# }