Three2TwoWay: Converts a multitable list to a two way matrix
Description
Takes a multitable list of matrices X and converts it to a two way matrix with
the structure required by the Statis programs using a _ to separate variable and occassion
or study.
Usage
Three2TwoWay(X, whatlines = 2)
Value
A two way matrix
- x
A two way matrix
Arguments
- X
The multitable list.
- whatlines
Concatenate the rows (1) or the columns (2)
Author
Jose Luis Vicente Villardon
Details
Takes a multitable list of matrices X and converts it to a two way matrix with
the structure required by the Statis programs using a _ to separate variable and occassion
or study. When whatlines is 1 the final matrix adds the rows of the three dimensional array, then the columns must
be the same for all studies. When whatlines is 2 the columns are concatenated and then the number
of rows must be the same for all studies.