show_norment_logo: Show the NORMENT logo on your ggplot object

Description Usage

View source: R/show_norment_logo.R

Description

This function adds the NORMENT logo as a layer on top of your ggplot object. You can specify whether you want the logo with the name or without. Please pay attention that if you use the logo with the name, that you likely have to reposition the logo with the pos option. Minimal usage is as follows: show_norment_logo(ggobj).
More options can be set using the with.name option (TRUE/FALSE), the pos option which takes a relative vector for the position. just to tell it which justification to assume, and size, which takes a unit element to scale the size of the logo to the desired size.

This function is not very elegant at the moment, but it might be improved over time.

Usage

1
2
3
4
5
6
7
8
(
  plot.obj = plot,
  with.name = FALSE,
  pos = c(0.96, 0.05),
  just = "center",
  size = unit(25, "points"),
  ...
)

norment/normentR documentation built on Nov. 11, 2020, 2:16 a.m.