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()")

cardiomoon/rrtable documentation built on March 14, 2023, 10:39 p.m.