new_plot: Init a Annotation Plot

Description Usage Arguments Value

View source: R/new-plot.R

Description

This function, similar to new_ggplot, is used to initialize an annotated graph.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
new_plot(plot, ...)

## S3 method for class 'ggplot'
new_plot(plot, ...)

## S3 method for class 'grob'
new_plot(plot, ...)

## S3 method for class 'formula'
new_plot(plot, ...)

## Default S3 method:
new_plot(plot, ...)

Arguments

plot

can be a ggplot, grob or base plot object.

...

other parameters.

Value

a modified gg object.


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