keep_rows: keep_rows

Description Usage Arguments Value

View source: R/import-data.R

Description

Function keeps only the specified rows from input data frame d, returning a new data frame containing only these rows.

Usage

1
keep_rows(d, funcList)

Arguments

d

Input data frame

funcList

a list of functions. Each takes a whole dataframe, and returns a vector of indices detailing which rows to keep.

Value

The input data frame d but containing only the rows we want to keep


interzoneboy/MS-prep documentation built on June 13, 2020, 7:03 a.m.