check_column_name: check_column_name

View source: R/6-utils.R

check_column_nameR Documentation

check_column_name

Description

check_column_name

Usage

check_column_name(df, column.name)

Arguments

df

A data frame.

column.name

new column name

Value

A column name

Author(s)

Xiaotao Shen shenxt1990@outlook.com

Examples

df <-
  data.frame(x = 1:2, y = 2:3, y.1 = 3:4)
df

check_column_name(df = df, column.name = "y")
check_column_name(df = df, column.name = "y.1")

tidymass/massdataset documentation built on Sept. 14, 2024, 4:41 p.m.