next up previous contents
Next: Querying the vector lenght Up: Basic operations for managing Previous: Copying data frames or

Displaying the contents of data frames and fields

 

getdata Display the contents of a data frame
<name> name of the data frame or field to be listed

This command returns the contents of a data frame or field in a buffer and displays it. If <name> refers to a data frame, then the result includes name, type and data values of each field in the frame. If <name> refers to a field, then type and data values of the field are listed.

Example: Boston data and field boston.crim can be listed as follows.

NDA> load boston.dat
NDA> getdata boston
crim
2
13.245000
12.002000
0.001000
30.000000
...
zn
2
1.200030
1.430000
...
NDA> getdata boston.crim
2
13.245000
12.002000
0.001000
30.000000
...



Anssi Lensu
Thu May 17 15:00:44 EET DST 2001