colnamesMatches check if data frame's columns are named as specified

colnamesMatches(x, cols)

Arguments

x

Data frame to test.

cols

Ordered character vector to test against x's colnames.

Value

Logical indicating if x's colnames equals choice.