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: svd grandrews grpcp grstar grsurface

Quantlet: grbiplot
Description: Generates a graphical object containing the coordinates for the biplot of a given matrix.

Link:
Usage: y = grbiplot(x,r,k)
Input:
x n x p matrix (n >= p) (n cases, p variables)
r number, rank of approximation (d <= p)
k number, 0 <= k <= 1
Output:
b n+p x d matrix, containing the coordinates for the biplot

Note:

Example:

; loads the library graphic

library("graphic")

; reset the random generator

randomize(0)

; generate a normal distributed dataset with

; 5 rows and 3 columns

x = normal(5,3)

; produce a biplot in 2-space

b = grbiplot(x, 2, 0.5)

; create a display with one window

d = createdisplay(1,1)

; show the biplot in a display

show(d,1,1,b)

Result:



shows a biplot


Library: graphic
See also: svd grandrews grpcp grstar grsurface

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: Torsten Kleinow, 961209
(C) MD*TECH Method and Data Technologies, 21.9.2000