Skip to contents

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