SETLAB Set data set sample labels
DATA=SETLAB(DATA,LAB)
DATA=SETLAB(DATA,PROP)
PROP=SETLAB(DATA)
INPUT
DATA Data set
LAB SDLAB object
PROP String property name
OUTPUT
DATA Data set
PROP String property name
DESCRIPTION
SETLAB sets the sample labels in DATA. If SDLAB object LAB is provided,
it is stored in the sample property referenced by DATA.lab. By default,
this is 'class'. The property used as labels may be changed by calling
SDLAB with a string property name. Only indexed properties (SDLAB
objects) may be used as labels.
SDLAB invoked on DATA without additional parameters returns the name of
property referenced by DATA.lab
SEE ALSO
GETLAB