Description Usage Arguments Value Examples
View source: R/ggplot_to_pinterest.R
Send a ggplot plot to a Pinterest board
1 | ggplot_to_pinterest(plot, board, note, link = NULL, token, ...)
|
plot |
a ggplot object |
board |
the name of the board |
note |
description of the image |
link |
a link to put under the image |
token |
a character string with an access token generated with 'pinterest_token()' |
... |
arguments to be passed to 'ggsave()' |
Either a data.frame, or an error.
1 2 3 4 5 6 | ## Not run:
library(ggplot2)
x <- ggplot(iris, aes(Sepal.Length, Sepal.Width)) + geom_point()
ggplot_to_pinterest(x, "colinfay/gris-mon-amour", "test rpinterest", token = token)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.