print_advice: Prints advice on your background image (from...

Description Usage Arguments Value Examples

View source: R/get_advice.R

Description

Prints advice on your background image (from advicegiveR::image_load())

Usage

1
print_advice(image, advice, textcolor = "white", size = 30)

Arguments

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.

Value

Image with the advice message annotated on top of it

Examples

1
2
3
## Not run: 
print_advice(image, advice, textcolor = "yellow", size = 35) 
## End(Not run)

katiejolly/advicegiveR documentation built on May 22, 2019, 11:52 p.m.