verify_fields: Verify existence of fields in data

Description Usage Arguments Value See Also

View source: R/utils-fields.R

Description

Verify whether some fields exist in the data or not.

Usage

1

Arguments

data

A dataframe or matrix to check.

fields

A character vector of field names to check.

Value

Invisible NULL if succeed, otherwise raise error.

See Also

Other utils_fields: expect_type_fields(), is_type_field()


chriszheng2016/zstmodelr documentation built on June 13, 2021, 8:59 p.m.