grobName: Generate a Name for a Grob

Description Usage Arguments Value Author(s)

Description

This function generates a unique (within-session) name for a grob, based on the grob's class.

Usage

1
grobName(grob = NULL, prefix = "GRID")

Arguments

grob

A grob object or NULL.

prefix

The prefix part of the name.

Value

A character string of the form prefix.class(grob).index

Author(s)

Paul Murrell

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.