Skip to contents

Specify a string "filter" state (applies to string and factor meta variables)

Usage

filter_string(varname, regexp = NULL, values = NULL)

Arguments

varname

The name of the variable to filter on.

regexp

A search string that can be a regular expression indicating the values of the variable to filter on.

values

A vector of specific values of the variable to filter on. If values is specified, regexp will be ignored.