PRTools contents

PRTools manual

getlab

GETLAB

Get labels of dataset or mapping

   LABELS = GETLAB(A)
   LABELS = GETLAB(W)

Input
 A Dataset
 W Mapping

Output
 LABELS Labels

Description

Returns the labels of the objects in the dataset A or the feature labels  assigned by the mapping W.

If A (or W) is neither a dataset nor a mapping, a set of dummy  labels is returned, one for each row in A. All these labels have the  value NaN.

Note that for datasets and mappings GETLAB() is effectively the same  as GETLABELS().

See also

datasets, mappings, getlabels,

PRTools contents

PRTools manual