row_contains: Identify spreadsheet rows that contain a pattern

Description Usage Arguments Functions

Description

Identify spreadsheet rows that contain a pattern

Usage

1
2
3
row_contains(.data, pattern, rows = TRUE, cols = TRUE)

col_contains(.data, pattern, rows = TRUE, cols = TRUE)

Arguments

.data

A table of tidy spreadsheet data (i.e., with columns row, col, and value).

pattern

Pattern to modify behaviour.

rows

One of: a vector of spreadsheet row indexes; a logical vector with length equal to the row count of dataframe .data; or a length-one logical vector (i.e., TRUE or FALSE) applied to all spreadsheet rows.

cols

One of: a vector of spreadsheet column indexes; a logical vector with length equal to the column count of dataframe .data; or a length-one logical vector (i.e., TRUE or FALSE) applied to all spreadsheet columns

Functions


MEDSL/medslcleaner documentation built on May 31, 2019, 7:39 a.m.