is_ggmatrix: Check if an object is a ggmatrix

View source: R/ggpairs_add.R

is_ggmatrixR Documentation

Check if an object is a ggmatrix

Description

Check if an object is a ggmatrix

Usage

is_ggmatrix(x)

Arguments

x

An object to check

Value

Logical value indicating if the object is a ggmatrix

Examples

is_ggmatrix(ggpairs(mtcars))
is_ggmatrix(ggplot2::ggplot())

GGally documentation built on Aug. 23, 2025, 9:08 a.m.