colnamesMatches: Check column names

View source: R/asserts.R

colnamesMatchesR Documentation

Check column names

Description

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

Usage

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.


Genentech/MiDAS documentation built on Feb. 5, 2024, 11:52 a.m.