View source: R/l_getSubtitles.R
l_getSubtitles | R Documentation |
Return the subtitles
l_getSubtitles(target)
## S3 method for class 'l_facet_ggplot'
l_getSubtitles(target)
## S3 method for class 'l_facet_wrap'
l_getSubtitles(target)
## S3 method for class 'l_facet_grid'
l_getSubtitles(target)
target |
an |
A list of labels, i.e. subtitles, labels, title, etc
if(interactive()) {
p <- ggplot(mpg, aes(displ, hwy)) +
geom_point() +
facet_wrap(vars(class))
lp <- loon.ggplot(p)
l_getSubtitles(lp)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.