generate a name for a new data column that is not already in use.
tmpcol(
data,
names = NULL,
base = "tmpcol",
i1 = 1,
max.it = 100,
prefer.plain = TRUE
)
The dataset to find a new element name for
Character vector of names that must not be matched. Only one of data and names can be supplied.
The base name of the new element. A number will appended to this string that will ensure that the new element name is not already in use.
Where to start the search for a smallest available index number to add to `base` if necessary.
Maximum number of iterations on element name.
If base isn't in use already, use it without a digit appended?
A character string
make.names
Other DataCreate:
NMorderColumns()
,
NMstamp()
,
NMwriteData()
,
addTAPD()
,
findCovs()
,
findVars()
,
flagsAssign()
,
flagsCount()
,
mergeCheck()