check_expected_cols: Verify that a data.frame has the expected columns present

View source: R/data_manage.R

check_expected_colsR Documentation

Verify that a data.frame has the expected columns present

Description

Verify that a data.frame has the expected columns present

Usage

check_expected_cols(data, cols)

Arguments

data

A data.frame or similar object

cols

A character vector of expected column names

Details

Either more or fewer columns are an error.

Value

'data' where the columns are ordered according to the order in 'cols'.

See Also

Other Data Management: get_data_manage_standard_cols(), nonmem_column_order()


billdenney/bsd.report documentation built on Jan. 16, 2024, 12:54 a.m.