get_col_nums: Get the column numbers for columns in a dataframe given their...

Description Usage Arguments Value

View source: R/validate.R

Description

Get the column numbers for columns in a dataframe given their names

Usage

1

Arguments

data

A dataframe.

name

A list of column names as strings.

Value

The column numbers for the columns with the given names, or zero if none of the column names are found.


olihawkins/cltools documentation built on Sept. 14, 2020, 7:25 a.m.