df.col.findId {NetExplorer} | R Documentation |
Find a data frame index
Description
Finds the data frame index of a column from the name of the column or its index.
Usage
df.col.findId(df, label_name)
Arguments
df |
a data frame in which to find the index of (a) specific column(s). |
label_name |
a character or numeric vector indicating the column name or index respectively. |
Details
This function allows the user to select one or several columns according to their name(s) or their index(es).
Value
an numeric vector corresponding to the column index that matches argument label_name.
Author(s)
Sebastian Sosa, Ivan Puga-Gonzalez.
[Package NetExplorer version 0.0.2 Index]