Library: | xplore |
See also: | ~ | merge1 |
Quantlet: | merge | |
Description: | combines columnwise up to eight 2-dim arrays with different dimension, the difference in rows dimensions is replaced with NaNīs |
Usage: | mergeres=merge(x1,{x2,x3,x4,x5,x6,x7,x8}) | |
Input: | ||
x1 | array (obligatory) | |
x2 | array (obligatory) | |
x3 | array | |
x4 | array | |
x5 | array | |
x6 | array | |
x7 | array | |
x8 | array | |
Output: | ||
mergeres | array |
library("xplore") merge(matrix(4,2),matrix(2,3))
Contents of mergeres [1,] 1 1 1 1 1 [2,] 1 1 1 1 1 [3,] 1 1 +NAN +NAN +NAN [4,] 1 1 +NAN +NAN +NAN
Library: | xplore |
See also: | ~ | merge1 |