is_ggplot | R Documentation |
Reports whether plotstring encode a ggplot object
is_ggplot(plotstring)
plotstring |
A character |
require(ggplot2) is_ggplot("plot(iris)") is_ggplot("ggplot(iris,aes(x=Sepal.Length))+geom_histogram()")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.