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: graphic
See also: groupcol

Quantlet: transform
Description: Transforms the given dataset.

Usage: y = transform (x, prep)
Input:
x n x p matrix
prep scalar
Output:
y n x p matrix

Note:

Example:
; loads the library graphic
library("graphic")
; generates a matrix(100x5) with uniform random numbers
x = uniform(100, 5)
; computes the principal components of x
y = transform(x, grc.prep.pcacov)
y

Result:
returns the principal components of x based on the
covariance matrix



Author: S. Klinke, 19970201
(C) MD*TECH Method and Data Technologies, 05.02.2006