plotly (version 2.0.2)

group2NA: Drawing ggplot2 geoms with a group aesthetic is most efficient in plotly when we convert groups of things that look the same to vectors with NA.

Description

Drawing ggplot2 geoms with a group aesthetic is most efficient in plotly when we convert groups of things that look the same to vectors with NA.

Usage

group2NA(g, geom)

Arguments

g
list of geom info with g$data$group.
geom
change g$geom to this.

Value

  • list of geom info.