dot-tempColName: Create a name for a temporary column in a data.frame

.tempColNameR Documentation

Create a name for a temporary column in a data.frame

Description

Returns a name that does not already exist in columns of a data.frame

Usage

.tempColName(df, n = 1, nm = "TEMP")

Arguments

df

A data.frame or tibble

n

(default 1) How many temporary column names are needed?

nm

(character(1), default "TEMP") Prefix for temporary column names

Value

Returns a name for a temporary column in df that isn't the name of an existing column.


HelenLindsay/AbNames documentation built on June 6, 2023, 1:18 p.m.