CMATT: This function changes a 3D array to a matrix using row-bind

Description Usage Arguments Value Examples

View source: R/CMATT.R

Description

This function changes a 3D array to a matrix using row-bind

Usage

1
CMATT(darr, nobj)

Arguments

darr

3D array of dimension =(p,d,n)

nobj

Number of object (=n)

Value

matrix of dimension (pn*d)

Examples

1
2
3
4
5
6
a =  sample(1:5,24,replace = TRUE)
dim(a) = c(3,2,4)
print("3-dimension array:")
print(a)
b=CMAT(a,nobj=4)
print(b)

debashischatterjee111/Bligom documentation built on Dec. 31, 2020, 11:15 p.m.