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 mariaantonietta.delferraro@yahoo.it
Henk A.L. Kiers h.a.l.kiers@rug.nl
Paolo Giordani paolo.giordani@uniroma1.it

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