Script Command Data
The keyword Data is a reference to the data matrix of DataLab and allows to access particular parts of the matrix by appending a dot and one of the following sub-keywords: ELEM, COLNAME, ROWNAME, STATE, and CLASS.
||Sets the data value of the matrix cell at position [cn,rn]. cn and rn are the column and row indices, respectively. The value parameter may be any allowed value (depends on the level of measurement of the variable).
||Sets the name of the column cn to the string name.
||Sets the name of the row rn to the string name.
||Sets the cell at the position [cn,rn] to a state specified by the parameter keywords. cn and rn are the column and row indices, respectively. The keywords parameter may be any combination of MARKA, MARKB, EMPTY, and RESET, separated by a '+' sign. Please note that the keyword RESET overrides all other keywords and restores the default state of the cell.
||Sets the class number of the row rn to the value cnum. cnum may take values between 0 and 255.
||Any of the rn and cn parameters may be replaced by a star (*) in order to affect an entire row or column (or the whole data matrix if both are replaced by stars).
fills all cells of the third column with the value 2.99
marks all cells of the fourth row as type A and B
Data.ColName=Apples or Nuts
sets the variable name of column 5 to "Apples or Nuts"