Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

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

Note:

Example:
vec(2,matrix(2,2),8)

Result:
Contents of #

[1,]     2
[2,]     1
[3,]     1
[4,]     1
[5,]     1
[6,]     8



(C) MD*TECH Method and Data Technologies, 05.02.2006