add.layer: Add a new layer

Description Usage Arguments Details Value Author(s)

View source: R/Layer.R

Description

This function adds a new layer to the current active Layer device. If no Layer device is active, an error occurs.

Usage

1
add.layer(layerName = NULL)

Arguments

layerName

the name of the newly added layer. If NULL, it will be assigned automatically.

Details

The newly created layer will be set as the "Current Layer". It means that consequent low-level plotting functions will be passed to this layer. (High-level plotting functions will destroy all layers and create a new one.)

Value

A data frame listing the ID and name of the newly added layer.

Author(s)

Yixuan Qiu (yixuan.qiu@cos.name)


yixuan/Layer documentation built on May 4, 2019, 5:28 p.m.