dq_lazy_ggplot_methods: S3/S7 methods for lazy ggplot objects

ggplotGrob.dq_lazy_ggplotR Documentation

S3/S7 methods for lazy ggplot objects

Description

These S3/S7 methods make dq_lazy_ggplot/dq_lazy_ggplot_s7 objects work smoothly with functions from ggplot2 and plotly. They simply materialize the underlying ggplot object and then delegate to the respective generic.

Usage

ggplotGrob.dq_lazy_ggplot(x, ...)

ggplotly.dq_lazy_ggplot_s7(p, ...)

plotly_build.dq_lazy_ggplot_s7(p, ...)

ggplotly.dq_lazy_ggplot(p, ...)

plotly_build.dq_lazy_ggplot(p, ...)

ggplotGrob.dq_lazy_ggplot_s7(x, ...)

Arguments

x, p

A dq_lazy_ggplot object.

...

Further arguments passed on to the underlying generic.

Value

The return value is the same as for the corresponding generic:

  • ggplotGrob() returns a gtable object.

  • ggplotly() returns a plotly object.

  • plotly_build() returns a plotly_proxy or similar.

See Also

ggplotGrob, plotly::ggplotly plotly::plotly_build


dataquieR documentation built on Jan. 8, 2026, 5:08 p.m.