is_ggmatrix: Check if an object is a ggmatrix

View source: R/ggmatrix_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 Nov. 10, 2026, 1:08 a.m.