opts_Layer {constructive}R Documentation

Constructive options for class 'Layer' (ggplot2)

Description

These options will be used on objects of class 'Layer'.

Usage

opts_Layer(constructor = c("default", "layer", "environment"), ...)

Arguments

constructor

String. Name of the function used to construct the environment, see Details section.

...

Should not be used. Forces passing arguments by name.

Details

Depending on constructor, we construct the object as follows:

The latter constructor is the only one that reproduces the object exactly since Layers are environments and environments can't be exactly copied (see ?opts_environment)

Value

An object of class <constructive_options/constructive_options_Layer>


[Package constructive version 0.3.0 Index]