RATS 10.1
RATS 10.1

The DATA, COPY, STORE, and PRTDATA instructions have an ORGANIZATION option. This option tells RATS how the data on the file is (or should be) organized. You need to set this option properly whenever you work with spreadsheet, FORTRAN, or other text format files.

 


ORGANIZATION=COLUMNS

indicates that the data are arranged in columns, one series per column, with each observation beginning on a new line.

 

ORGANIZATION=ROWS

means that the series run across the page in rows, with each variable beginning on a new line.

 


ORGANIZATION=MULTILINE

is only available on DATA. This can read one series only, but it allows the data for that series to span multiple rows even in a spreadsheet format. The number of elements being read needs to be known, so you need the start and end parameters on DATA. If you have more than one series blocked this way, use the TOP and BOTTOM options on DATA to isolate the information for a particular series. 

 


Note that the older terminology of ORG=OBSERVATION and ORG=VARIABLES is also still supported. OBSERVATION is equivalent to COLUMNS and VARIABLES is equivalent to ROWS.


 


Copyright © 2025 Thomas A. Doan