var_matches: Check if any variable matches this pattern

var_matchesR Documentation

Check if any variable matches this pattern

Description

Check if any variable matches this pattern

Usage

var_matches(df, pattern)

Arguments

df

data frame to check against

pattern

quoted variable of interest


USAID-OHA-SI/Interesting documentation built on Jan. 26, 2023, 5:57 p.m.