print.gganimintplot: Draw plot on current graphics device.

View source: R/plot.r

print.gganimintplotR Documentation

Draw plot on current graphics device.

Description

Draw plot on current graphics device.

Usage

## S3 method for class 'gganimintplot'
print(x, newpage = is.null(vp), vp = NULL, ...)

## S3 method for class 'gganimintplot'
plot(x, newpage = is.null(vp), vp = NULL, ...)

Arguments

x

plot to display

newpage

draw new (empty) page first?

vp

viewport to draw plot in

...

other arguments not used by this method

Value

Invisibly returns the result of ggplot_build, which is a list with components that contain the plot itself, the data, information about the scales, panels etc.


animint2 documentation built on Nov. 22, 2023, 1:07 a.m.