Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: xplore
See also: dim paf reshape

Quantlet: reduce
Description: Deletes all dimensions with only a single component.

Usage: y = reduce (x)
Input:
x array
Output:
y array, dim(y) contains no 1

Example:

library("xplore")

x = matrix (3, 1, 2, 1)

reduce (x)

Result:



Contents of y

[1,]     1     1 

[2,]     1     1 

[3,]     1     1 


Library: xplore
See also: dim paf reshape

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Author: TTK, 960207
(C) MD*TECH Method and Data Technologies, 21.9.2000