Skip to contents

R6 class for mapping Grouping variables to data

Public fields

color

R6 class Grouping object

fill

R6 class Grouping object

linetype

R6 class Grouping object

shape

R6 class Grouping object

size

R6 class Grouping object

Methods


Method new()

Create a new GroupMapping object

Usage

GroupMapping$new(
  color = NULL,
  fill = NULL,
  linetype = NULL,
  shape = NULL,
  size = NULL
)

Arguments

color

R6 class Grouping object or its input

fill

R6 class Grouping object or its input

linetype

R6 class Grouping object or its input

shape

R6 class Grouping object or its input

size

R6 class Grouping object or its input

Returns

A new GroupMapping object


Method clone()

The objects of this class are cloneable with this method.

Usage

GroupMapping$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.