Description Usage Arguments Value
View source: R/array_to_list_array.R
The purpose of this function is to take an array with several dimension and adjust it into a list of arrays instead. (It will also work when a list of arrays are encountered). This can e.g. be use full if an interactive investigation requires some particular subsets of the original array to be visualised, since an initial conversion to list of suitable sub-arrays might speed up the extraction of relevant slices later on.
1 2 | array_to_list_array(.arr, .array_nodes = NULL, .sub_dim = NULL,
.add_dims_attribute = FALSE)
|
.arr |
The array to be converted into a list array. Note that
this array must have dimension names, and that uniqueness of
the names (at the different levels) must be satisfied. Note
that |
.array_nodes |
Either |
.sub_dim |
Either |
.add_dims_attribute |
Logical value, default |
An object of class list_array
, constructed according
to the specifications in the given arguments. Note that the
dimension names of the array-nodes all are identical, and to
save memory those dimension-names are not stored for each
individual array but rather stored as an attribute of the main
result.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.