View source: R/show_norment_logo.R
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.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.