copy.dimension.and.dimnames | R Documentation |
Copy the dimension and dimnames of a 1D vector to a 2D array.
copy.dimension.and.dimnames(list.1D, obj.2D)
list.1D |
A 1D vector. |
obj.2D |
A 2D array. |
A 2D array with the same dimension and dimnames as obj.2D
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.