as_cpx_ggplot: Coerce to a Complex Ggplot

Description Usage Arguments Value References

View source: R/as-cpx-ggplot.R

Description

Functions to coerce a object to a cpx_ggplot if possible.

Usage

1
2
3
4
5
6
7
as_cpx_ggplot(plot)

## S3 method for class 'ggplot'
as_cpx_ggplot(plot)

## S3 method for class 'new_annotation'
as_cpx_ggplot(plot)

Arguments

plot

a ggplot object.

Value

a cpx_ggplot object.

References

Guangchuang Yu (2020). aplot: Decorate a 'ggplot' with Associated Information. R package version 0.0.6.https://CRAN.R-project.org/package=aplot


Hy4m/newplot documentation built on Dec. 17, 2021, 11:24 p.m.