get_columnno_fornames: Function to return the column number for column name

Description Usage Arguments Value Examples

View source: R/IPDFileCheck.R

Description

Function to return the column number for column name

Usage

1

Arguments

data

a data frame

column_name

column names of the data frame

Value

column number, if success error, if failure

Examples

1
2
get_columnno_fornames(data.frame("Age" = c(21, 15),
"Name" = c("John", "Dora")), "Name")

IPDFileCheck documentation built on Feb. 1, 2022, 9:07 a.m.