Description Usage Arguments See Also Examples
View source: R/chk-composite.R
Check that an array has dimnames, and that those dimnames have names.
1 2 3 4 5 6 7 | chk_has_dimnames(x, name)
chk_has_names_dimnames(x, name)
err_has_dimnames(x, name)
err_has_names_dimnames(x, name)
|
x |
An array. |
name |
The name for |
chk_no_dimnames
,
chk_array_metadata_complete
1 2 3 4 5 6 | x <- array(1:6,
dim = 3:2,
dimnames = list(age = c("0-4", "5-9", "10+"),
sex = c("Female", "Male")))
chk_has_dimnames(x, name = "x")
chk_has_names_dimnames(x, name = "x")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.