Skip to contents

Check Object Names

Usage

assert_names(x, expected)

assert_dimnames(x, expected)

assert_rownames(x, expected)

assert_colnames(x, expected)

Arguments

x

An object to be checked.

expected

An appropriate expected value.

Value

Throws an error, if any, and returns x invisibly otherwise.

Author

N. Frerebeau