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

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

Example:

library("xplore")

merge(matrix(4,2),matrix(2,3))

Result:

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

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

Author: MB 000804
(C) MD*TECH Method and Data Technologies, 21.9.2000