chk_names_dimnames_complete: Check that names for an array are complete

Description Usage Arguments See Also Examples

View source: R/chk-composite.R

Description

Check that names for an array are complete

Usage

1
2
3

Arguments

x

An array.

name

The name for x that will be used in error messages.

See Also

chk_names_complete, chk_has_dimnames, chk_array_metadata_complete

Examples

1
2
3
4
5
x <- array(1:6,
           dim = 2:3,
           dimnames = list(sex = c("Female", "Male"),
                           region = c("A", "B", "C")))
chk_names_dimnames_complete(x = x, name = "x")

johnrbryant/demcheck documentation built on Dec. 31, 2021, 11:57 a.m.