form3names: provides systematic names for items

Description Usage Arguments Value See Also Examples

View source: R/rbsa1.code.r

Description

Provides systematic names for a series of items according to their number and taking care of previous names.

Usage

1
2
3
4
 
  form3names(nbn,nom=character(0),prefix="",
             upca=TRUE,nume=14,
             monitor=rbsa0$monitor$v) 

Arguments

nbn

Number of new item names to generate

nom

Already present names (to avoid identical names).

prefix

Systematic prefix of all names to generate. Must comprise the dot, if one wants such a separator between it and the specific part of the name. Of course can be 'underscore' or whatever else.

upca

Indicates whether the letters constituting the new names must be uppercase or not.

nume

Its absolute value gives the number of the letter to use when the alphabet is not sufficient. When negative, alphabet is not considered as a first possibility. For instance 2 will indicate "B" and the default is "N". When 0, no letter is considered.

monitor

List of constants indicating the monitoring choices, see the rbsa0$monitor$v provided object as an example.

Value

vector with nbn different strings associated to new names

See Also

form3numbering

Examples

1
2
3
4
5
6
7
8
 
  form3names(2); 
  form3names(2,nume=-3); 
  form3names(2,prefix="rbsa."); 
  form3names(2,upca=FALSE); 
  form3names(5,"D"); 
  form3names(5,"Y"); 
  form3names(30); 

rbsa documentation built on May 2, 2019, 6:07 p.m.