Learn R Programming

ggplot2bdc (version 0.3.2)

gg_supports_theme_attribute: Determine whether installed ggplot2 supports a given theme attribute

Description

Determine whether installed ggplot2 supports a given theme attribute

Usage

gg_supports_theme_attribute(x)

Arguments

x
The name of an attribute (e.g., "plot.caption")

Value

A logical value indicating whether the given attribute is supported (TRUE) or not (FALSE).

See Also

theme

Examples

Run this code
gg_supports_theme_attribute("plot.caption")

Run the code above in your browser using DataLab