copy | Copy a data frame into a new one |
<source> | name of source data |
<target> | name of target data |
copy | Copy a field instead of a frame |
-f <srcfld> <trgfld> |
This command copies a source data frame (or field) into a target frame (or field) leaving the original frame intact. In the case of frames, the data fields are also copied instead of just creating new references (see select in section 2.9).
Example:
NDA> load boston.dat NDA> copy boston data2 NDA> ls -fr data2 data2.crim data2.zn ...