next up previous contents
Next: Getting the lenght of Up: Basic operations for managing Previous: Attaching data frames

Returning contents of the data frames and fields

 

tabular503

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

Example: The Boston data and its field "crim" are listed as follows.

NDA> load boston.dat
NDA> getdata boston
crim
2
13.24500
12.00200
0.001000
30.00000
...
zn
2
1.200030
1.430000
...
NDA> getdata boston.crim
crim
2
13.24500
12.00200
0.001000
30.00000
...



Erkki Hakkinen
Thu Sep 24 11:51:34 EET DST 1998