A fully 3-dimensional analogue of geom_point

geom_sphere_3d(
  mapping = NULL,
  data = NULL,
  stat = "identity",
  position = "identity",
  ...,
  na.rm = FALSE,
  show.legend = NA,
  inherit.aes = TRUE,
  material = list()
)

Arguments

mapping, data, stat, position, ..., na.rm, show.legend, inherit.aes

see documentation for ggplot2::geom_point()

material

Arguments passed to rgl::material3d() to specify the material properties for this geom. Any parameters specified in this argument override the defaults. See rgl documentation for more info. Also see ggrgl::standard_material for the standard default material parameters used for all objects.

Full 3d Positioning

The 3d suffix indicates that this geom allows for the full 3d positioning of each node and/or edge which makes it up. Thus the resulting geometrical element rendered on the plot can appear in any orientiation, and is not limited to planar representation.

See also

Other 3d geoms: geom_path_3d(), geom_segment_3d()