Skip to contents

filter_at_vars filter_at_vars allows you to filter rows of a dataset based on values of specified columns

Usage

filter_at_vars(raw, scoresheet)

Arguments

raw

a raw data object

scoresheet

a scoresheet object. Key columns for the filter_at function are code. Code should include two arguments separated by a comma. the first argument a numeric vector of column positions. *Note - this currently must be a numeric vector. The second is a predicate function to be applied to the columns or a logical vector. Variables for which the predicate returns true are selected. see dplyr for additional info. filter_all.

Value

tibble that is filtered at specific variables