When converting an object into a vector part of the meta-data is lost (for example, when converting a matrix to a vector, the dimensions of the original matrix are lost). These generic functions return a "reshaping function" appropriate for turning a vector back into the original object. They're used internally by vecpack, see Vignette.
1 | reshapefun(x, ...)
|
x |
an object |
... |
ignored |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.