Learn R Programming

pmartR (version 2.4.6)

column_matches_exact: Helper to find the names of columns of a data.frame that contain exactly all the elements of an input column

Description

Helper to find the names of columns of a data.frame that contain exactly all the elements of an input column

Usage

column_matches_exact(df, col)

Value

vector of column names of df that contain exactly all the elements of the input column

Arguments

df

A data.frame whose columns we want to match to some query column.

col

Vector of values which will be compared to a column in df.