getLayerName: Gives a unique name to each layer in 'saveLayer'

View source: R/z_animintHelpers.R

getLayerNameR Documentation

Gives a unique name to each layer in saveLayer

Description

Gives a unique name to each layer in saveLayer

Usage

getLayerName(L, geom_num, p.name)

Arguments

L

layer in saveLayer to be named

geom_num

the number of the layer to be saved

p.name

the name of the plot to which the layer belongs

Value

a unique name for the layer


animint2 documentation built on Nov. 22, 2023, 1:07 a.m.