as_ggside: Explicit conversion to ggside object

View source: R/plot-construction.R

as_ggsideR Documentation

Explicit conversion to ggside object

Description

Function is only exported for possible extensions to ggside. ggplot2 objects are implicitly converted to ggside objects by 'adding' a ggside object such as a ggside_layer object.

Usage

as_ggside(x, ...)

## Default S3 method:
as_ggside(x, ...)

## S3 method for class 'ggplot'
as_ggside(x, ggside = NULL, ...)

## S3 method for class 'ggside'
as_ggside(x, ggside = NULL, ...)

Arguments

x

an object to convert

...

unused argument

ggside

new ggside object to add


jtlandis/ggside documentation built on March 5, 2024, 7:41 p.m.