is_ggplot: Reports whether plotstring encode a ggplot object

View source: R/plot2pptx.R

is_ggplotR Documentation

Reports whether plotstring encode a ggplot object

Description

Reports whether plotstring encode a ggplot object

Usage

is_ggplot(plotstring)

Arguments

plotstring

A character

Examples

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

rrtable documentation built on April 5, 2022, 9:08 a.m.