add_serialaxes_layers: Layers for serial axes coordinate

View source: R/add-serialaxes-layers.R

add_serialaxes_layersR Documentation

Layers for serial axes coordinate

Description

Project the regular geom layers onto the serial axes coordinate.

Usage

add_serialaxes_layers(layer, plot, object, axes)

Arguments

layer

a layer object

plot

a ggplot object

object

some parameters used to modify this serial axes ggplot object (i.e. axes.sequence, ...)

axes

canvas sequence axes

Details

The class is determined by layers you add. For example, you want to add a boxplot layer on serial axes coordinate. By the ggplot syntax, it should be ggplot(data, mapping) + geom_boxplot() + coord_serialaxes() To make it work, object add_serialaxes_layers.GeomBoxplot must be created. In this function, some computations will be applied.


ggmulti documentation built on Nov. 10, 2022, 5:12 p.m.