next up previous contents
Next: Setting the contents of Up: Basic operations for managing Previous: Displaying the contents of

Querying the vector lenght of a name entry

 

len Get the number of data items in a name entry
-n <name> any name
-fout <trgfld> field to be created
[-dout <trgdata>] target data frame

This command reads the length of data in a name entry and stores it in a specified field, which can be put into a data frame with -dout.

Example: The length of boston.crim can be displayed as follows.

NDA> load boston.dat
NDA> len -n boston.crim -fout blen
NDA> getdata blen
1
506


next up previous contents
Next: Setting the contents of Up: Basic operations for managing Previous: Displaying the contents of

Anssi Lensu
Tue Jul 23 11:58:18 EET DST 2002