searchDF: Searchs given data frame for rows in which the given column...

View source: R/watanabe-df-manipulation.R

searchDFR Documentation

Searchs given data frame for rows in which the given column has the specified value

Description

Searchs dataframe df for rows containing colValue in col. Returns an index vector (i.g. logical vector that is the legnth of the number of rows of df) where the ith element is TRUE if the ith row of df meets the search criterion

Usage

searchDF(df, col, colValue)

Arguments

df

A data frame to search

col

Name or index of column to search for colValue.

colValue

Value in column to search for. Must be the type of col.


awatanabe/appr documentation built on Sept. 26, 2022, 8:04 a.m.