Three2TwoWay function

Converts a multitable list to a two way matrix

Converts a multitable list to a two way matrix

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.

Three2TwoWay(X, whatlines = 2)

Arguments

  • X: The multitable list.
  • whatlines: Concatenate the rows (1) or the columns (2)

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.

Returns

A two way matrix - x: A two way matrix

Author(s)

Jose Luis Vicente Villardon

Examples

# No examples yet
  • Maintainer: Jose Luis Vicente Villardon
  • License: GPL (>= 2)
  • Last published: 2023-11-21

Useful links