Margins means the names of dimnames of an array.
margins<- and remargins are for renaming, but
margins<- ignores the names of value while
remargins according to the names of value renames the margins. Doing
so, remargins may also keep sdim. margins<- always removes sdim.
For remargins the length of value can be shorter than that of the
margins if the value has names.
1 2 3 4 5 |
x |
A generalized array. |
value |
A character vector will become the margins (names of dimnames)
of the generalized array.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.