djpr_plot_title | R Documentation |
Functions to create title, subtitle, and caption of plots Creates container Currently implemented via inline CSS.
djpr_plot_title(..., rel_font_size = 129)
djpr_plot_subtitle(..., rel_font_size = 100)
djpr_plot_caption(..., rel_font_size = 73)
... |
arguments passed to container (eg. |
rel_font_size |
Numeric. Relative font size. In percent, so |
A shiny.tag
object.
djpr_plot_title("A title goes here")
djpr_plot_subtitle("A subtitle goes here", rel_font_size = 100)
# Use as container in shiny::textOutput()
## Not run:
textOutput("title", container = djpr_plot_title)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.