Learn R Programming

ThreeWay (version 1.1.3)

ccmat: Columns concatenation

Description

Concatenates the columns of two matrices next to each other.

Usage

ccmat(A, B)

Value

mat

Matrix in which the columns of A and B are concatenated next to each other

Arguments

A

Matrix of the same order of B

B

Matrix of the same order of A

Author

Maria Antonietta Del Ferraro [email protected]
Henk A.L. Kiers [email protected]
Paolo Giordani [email protected]

Examples

Run this code
X <- matrix(rnorm(6*3),ncol=3)
Y <- matrix(rnorm(6*3),ncol=3)
Z <- ccmat(X,Y)

Run the code above in your browser using DataLab