ANOVA save structure from an external file (R.W. Payne).
||Name of the file storing the save structure|
||Scalar that contains the value one if the save structure was retrieved successfully, otherwise contains either zero or a missing value|
||Save structure that has been retrieved|
ARETRIEVE retrieves an
ANOVA save structure, stored earlier by the
ASTORE procedure in an external file. It can then be used to produce further output from the analysis. (See, for example, directives
AKEEP, or procedures
The name (and path) of the file that stores the save structure is specified, in a text, by the
FILENAME parameter. The save structure is saved by the
SAVE parameter. The
EXIT parameter can return a scalar containing the value one if the save structure was retrieved successfully. Otherwise it contains either zero or a missing value.
Commands for: Analysis of variance.
CAPTION 'ASTORE example',!t('Split plot design, see the',\ 'Guide to Genstat, Part 2, Section 4.2.1.'); STYLE=meta,plain SPLOAD [PRINT=*] '%GENDIR%/Data/Oats.gsh' TREATMENTS variety*nitrogen BLOCKSTRUCTURE blocks/wplots/subplots ANOVA [PRINT=aov; FPROBABILITY=yes] yield; SAVE=oatsave ASTORE 'Oats.gbs'; SAVE=oatsave " delete oatsave and run a null analysis to remove all traces " DELETE [REDEFINE=yes] oatsave TREATMENTS BLOCKSTRUCTURE ANOVA [PRINT=aov; FPROBABILITY=yes] yield " retrieve oatsave " ARETRIEVE 'Oats.gbs'; SAVE=oatsave ADISPLAY [PRINT=aov] oatsave FDELETE 'Oats.gbs'