Description Usage Arguments Value Examples
Prints advice on your background image (from advicegiveR::image_load())
1 | print_advice(image, advice, textcolor = "white", size = 30)
|
image |
Image object |
advice |
Advice string from advicegiveR::get_advice() or a self-supplied string |
textcolor |
The color of the advice. Accepts color strings or hex codes. Default is white. |
size |
Size of the text. Default is 30. |
Image with the advice message annotated on top of it
1 2 3 | ## Not run:
print_advice(image, advice, textcolor = "yellow", size = 35)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.