next_name: Next Name from Counter

Description Usage Arguments Details Value

View source: R/counter.R

Description

This function looks up the given name in the given counter, increments the counter for that name, and returns a string with the name and new count.

Usage

1
next_name(counter, name, ...)

Arguments

counter

(Counter) The counter for lookup.

name

(character) The name to look up in the counter.

...

Additional arguments, currently ignored.

Details

Side effects: The counter is modified in-place.

Value

(character) A string containing the name and the new count.


nick-ulle/rstatic documentation built on Oct. 18, 2019, 4:38 a.m.