filter_data_frame: Filter data frame by condition on selected columns

View source: R/auxiliary.R

filter_data_frameR Documentation

Filter data frame by condition on selected columns

Description

return a subset of rows of the original dataframe where the corresponding columns have values belonging to one of the rows of the vals matrix

Usage

filter_data_frame(df, cols, vals)

Arguments

df

data frame

cols

column indices or names to use for selection

vals

a matrix whose rows consist of allowed parameter combinations


wangtengyao/putils documentation built on Nov. 26, 2024, 2:01 a.m.