is_ggplot: Reports whether plotstring encode a ggplot object

Description Usage Arguments Examples

View source: R/plot2pptx.R

Description

Reports whether plotstring encode a ggplot object

Usage

1
is_ggplot(plotstring, preprocessing = "")

Arguments

plotstring

A character

preprocessing

A string of R code

Examples

1
2
3
require(ggplot2)
is_ggplot("plot(iris)")
is_ggplot("ggplot(iris,aes(x=Sepal.Length))+geom_histogram()")

rrtable documentation built on April 2, 2020, 5:09 p.m.