set.value: Generate function to set the value of a specified row/column

Description Usage Arguments Value

Description

A helper function to build df-specific search tools. These functions are typically used in conjunction with lapply to determine if they are present in a df.

Usage

1

Arguments

id

Used during function creation to customize which df columns are used for search. This can be a vector.

X

Search term, this can be a vector

dat

a data frame with both "id" and "field" columns

field

the search column name

Value

value from field corresponding to search terms. This function can select multiple field values that are collapsed with separator to conserve dimensionality


dkrozelle/toolboxR documentation built on May 15, 2019, 9:13 a.m.