View source: R/print.gtable.R
Prints a ggplot figure with footnotes added.
A figure with footnotes added
p <- qplot(carat, price, data = diamonds, color = cut)
ggfootnote(p, "Source: diamonds data distributed with the ggplot package",
Add the following code to your website.
Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.