Skip to contents

Functions for checking on if an object is a ggplot2 object and what type it is. These functions may be removed if alternatives can be identified in a different package.

Usage

is_gg_layer(x)

is_gg_sf_layer(x)

is_gg_scale(x)

is_gg_theme(x)

is_gg_component(x)

is_gg_list(x)

Arguments

x

A object to check if it is a ggplot object.