INCLUDE Instruction |
INCLUDE( options ) fileseries series start end comments
INCLUDE is rarely used, and thus is no longer documented in the Reference Manual. Includes (adds) a series to a RATS data file. Use STORE to include many series at once (with less control over options).
Wizard
You can also store series in RATS format files using the mouse. First, open or create a RATS format file using File—Open RATS or File—New. Then, do View—Series Window to display a list of the series in memory, and drag and drop the desired series from this window onto the RATS Data File window.
Parameters
fileseries |
name to assign the series on the data file |
series |
series to save to the file, defaults to file series |
start, end |
range to save, defaults to range of source |
comments |
residuals series, defaults to 0 |
Options
COMMENTS=STRING or VECT[STRINGS] containing comments [no comments]
Use this option if you want to add comments describing the series. You can add up to two (80 character) comments to a series.
Example
dedit stock.rat
include(comments="S&P 500 data for the 1990's") sp500 sp500 1990:1:2 1999:12:30
save
Copyright © 2025 Thomas A. Doan