get_columnno_fornames: Function to return the column number for column name

View source: R/IPDFilecheck.R

get_columnno_fornamesR Documentation

Function to return the column number for column name

Description

Function to return the column number for column name

Usage

get_columnno_fornames(data, column_name)

Arguments

data

a data frame

column_name

column names of the data frame

Value

column number, if success error, if failure

Examples

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

sheejamk/ipdfilecheck documentation built on March 10, 2024, 11:23 p.m.