Learn R Programming

arm (version 1.1-14)

array.append: Array Merging

Description

Add arrays to an array

Usage

array.append(array1, array2, d)

Arguments

array1
The array to be appended
array2
The array to be included in the appended array
d
append after which dimension

Value

  • array

Examples

Run this code
a <- array(1:27, c(3,3,3))
b <- array(28:54, c(3,3,3))
array.append(array1=a, array2=b, d=3)

Run the code above in your browser using DataLab