Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rarray

Array reconstruction


Description

Produces an array starting from its matricization with all the frontal slices of the array next to each other.

Usage

rarray(Xa, n, m, p)

Arguments

Xa

Matrix (or data.frame coerced to a matrix) containing the elements of the frontal slices of an array

n

Number of A-mode entities

m

Number of B-mode entities

p

Number of C-mode entities

Value

X

Array leading to Xa

Author(s)

Maria Antonietta Del Ferraro mariaantonietta.delferraro@yahoo.it
Henk A.L. Kiers h.a.l.kiers@rug.nl
Paolo Giordani paolo.giordani@uniroma1.it

References

H.A.L. Kiers (2000). Towards a standardized notation and terminology in multiway analysis. Journal of Chemometrics 14:105–122.

Examples

# matricized array (frontal slice)
Xa <- matrix(1:8,nrow=2)
X <- rarray(Xa, 2, 2, 2)
# original array
X

ThreeWay

Three-Way Component Analysis

v1.1.3
GPL (>= 2)
Authors
Maria Antonietta Del Ferraro, Henk A.L. Kiers, Paolo Giordani
Initial release
2015-09-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.