Each field can be accessed by the dot (.) operation, or by the GET function. Most fields
can be modified using the SET function, except for those designated as READ-ONLY which
are computed automatically by the class methods and cannot be handled by the user. Some
fields, which we found to be more commonly accessed, have specific SET/GET functions
that are listed in the table.
|
|
Field |
Description |
Type |
Default |
Dedicated Get/Set Function |
|
|
|
name |
name of object, should be short and used as identifier.
This field can never be empty. |
string |
'unnamed' |
|
|
|
|
description |
verbal description of the class content. |
string |
'' |
|
|
|
|
source |
verbal description of the source of information. |
string |
'' |
|
|
|
|
variables |
a vector of length nv, holding
the variables aggregated in the dataset. |
vector of variables |
[] |
variables |
|
|
read only |
no_variables |
a vector [nnom nord
nnum nunk nv],
indicating the number of nominal variables, ordinal variables,
numerical variables, variables of unknown level, and the number
of total variables, respectively. |
5-vector of nonnegative integers |
[0 0 0 0 0] |
novariables |
|
|
|
groupings |
a vector of length ng, holding
the groupings aggregated in the dataset. |
vector of groupings |
[] |
|
|
|
read only |
no_groupings |
number of groupings, ng.
Set to zero for void objects. |
integer scalar |
0 |
nogroupings |
|
|
|
samplesets |
a vector of length ns, holding
the samplesets aggregated in the dataset. |
vector of samplesets |
[] |
samplesets |
|
|
read only |
no_samplesets |
number of samplesets, ns.
Set to zero for void objects. |
integer scalar |
0 |
nosamplesets |
|
|
|
matrix |
a vector of length nm, holding
the datamatrices aggregated in the dataset. |
vector of datamatrices |
[] |
|
|
|
read only |
no_matrices |
number of datamatrices, nm.
Set to zero for void objects. |
integer scalar |
0 |
|
|
|
|
var2sampset |
a vector of length nv,
holding for each variable the ID of its corresponding sampleset. |
vector of nonnegative integers |
[] |
|
|
|
|
grp2sampset |
a vector of length ng,
holding for each grouping the ID of its corresponding sampleset. |
vector of nonnegative integers |
[] |
|
|