Learn R Programming

GGally (version 2.3.0)

is_ggmatrix: Check if an object is a ggmatrix

Description

Check if an object is a ggmatrix

Usage

is_ggmatrix(x)

Value

Logical value indicating if the object is a ggmatrix

Arguments

x

An object to check

Examples

Run this code
is_ggmatrix(ggpairs(mtcars))
is_ggmatrix(ggplot2::ggplot())

Run the code above in your browser using DataLab