Group: | Matrix Manipulation |
Topic: | Sorting and Counting |
See also: | # reshape |
Function: | vec | |
Description: | vec reshapes all given arguments into a vectors and concatenates them into a single vector which is returned. |
Usage: | y = vec (x1, x2, ...) | |
Input: | ||
x1, ... | numerical arrays | |
Output: | ||
y | vector |
vec(2,matrix(2,2),8)
Contents of # [1,] 2 [2,] 1 [3,] 1 [4,] 1 [5,] 1 [6,] 8