Description Usage Arguments Value Examples
This function reshapes a vector into a matrix whose row elements are taken from the vector. Orders of elements keep unchanged from the vector.
1 | ts2mat(x, w)
|
x |
a vector or a time series |
w |
a number specifying number of columns of the matrix |
a matrix
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.