Description Usage Arguments Value Examples
Converts from the list
with length of R and entry dimensions
J x K x S to an array
with dimensions J x K x S x R.
1 |
x |
An |
An array
with dimensions J x K x S x R.
1 2 3 4 5 6 7 8 | # Create a matrix
x = matrix(1:6, nrow = 2)
# Add matrices to a list
x_list = list(x, x + 1)
# Convert to array
x_array = listmatrix_to_array(x_list)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.