<< Graphics Graphics coloredmap >>

fact >> Graphics > barycentermap

barycentermap

cloud of points; all the observations of the same class are represented by the same colour and are connected to the barycenter of their class

Calling sequence

barycentermap(x,col1,col2,classes,charsize)

Arguments

x:

a matrix (n x p) or a Div structure

col1,col2:

numbers of the columns chosen for the abscissa and the ordinate respectively

classes:

a vector (n x 1) containing integers (between 1 and k if k different classes )

(charsize):

size of the characters; by default=0

Example

barycentermap(x,3,10,classes,0.5)

Authors


Report an issue
<< Graphics Graphics coloredmap >>