index_val: Get index of a value in dataframe, row or colum or both

View source: R/index_val.R

index_valR Documentation

Get index of a value in dataframe, row or colum or both

Description

Get index of a value in dataframe, row or colum or both

Usage

index_val(data, value, ind = NULL, pair = NULL)

Arguments

data

specify a dataframe

value

specify the of which the index will be returned

ind

specify the index to be returned: "row", "col","both"

pair

TRUE/FALSE if the index to be returned as pairs like [x,y]

Value

the index of a value: within a column, a row, or both like [x,y]

Author(s)

Ibrahim H. Elkhidir


IbrahimHE/wrangler documentation built on March 27, 2022, 4:23 p.m.