get_colname: Extract column name from dataset

Description Usage Arguments See Also Examples

View source: R/tools.R

Description

This function extracts a column name from a dataset irrespective of whether the column is called by its quoted name, its non quotted name, or through an object.

Usage

1
get_colname(.data, col)

Arguments

.data

A data.frame or tbl

col

A column name

See Also

get_col()

Examples

1
2
3
get_colname(iris, "Sepal.Length")
get_colname(iris, Sepal.Length)
get_colname(iris, 1)

courtiol/dfuzz documentation built on Oct. 28, 2020, 6 a.m.