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 Oct. 17, 2022, 7:25 a.m.