Description Usage Arguments See Also Examples
View source: R/chk-composite.R
chk_omitted
checks that a dimension is omitted,
and chk_not_omitted
checks that a dimension is not
omitted.
1 2 3 4 5 6 7 | chk_omitted(index, map_dim, name_index, name_dim)
chk_not_omitted(index, map_dim, name_index, name_dim)
err_omitted(index, map_dim, name_index, name_dim)
err_not_omitted(index, map_dim, name_index, name_dim)
|
index |
An integer vector, identifying dimensions of array |
map_dim |
Integer vector mapping dimensions of array |
name_index |
Name of |
name_dim |
Name of the dimension that should or should not be omitted. |
1 2 3 4 5 6 7 8 | chk_omitted(index = 2L,
map_dim = c(1L, 0L, 2L),
name_index = "indices_orig_self",
name_dim = "origin")
chk_not_omitted(index = 3L,
map_dim = c(1L, 0L, 2L),
name_index = "indices_dest_self",
name_dim = "destination")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.