plotly_helpers: Plotly helpers (Convert a geom to a "basic" geom.)

plotly_helpersR Documentation

Plotly helpers (Convert a geom to a "basic" geom.)

Description

Helper functions to make it easier to automatically create plotly charts. This function makes it possible to convert ggplot2 geoms that are not included with ggplot2 itself. Users shouldn't need to use this function. It exists purely to allow other package authors to write their own conversion method(s).

Usage

to_basic.GeomMissPoint(data, prestats_data, layout, params, p, ...)

Arguments

data

the data returned by ggplot2::ggplot_build().

prestats_data

the data before statistics are computed.

layout

the panel layout.

params

parameters for the geom, statistic, and 'constant' aesthetics

p

a ggplot2 object (the conversion may depend on scales, for instance).

...

currently ignored


njtierney/naniar documentation built on March 19, 2024, 9:48 p.m.