13.07.2015 Views

Download pdf guide - VSN International

Download pdf guide - VSN International

Download pdf guide - VSN International

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.6 Practical 43GenStat adds by default to the column names (! for factors, etc). Alternatively, you canset option NONAMES=yes to suppress the names altogether.These are the main options and parameters that you are likely to need. Again there areothers that allow you, for example, to add a page to a spreadsheet, to specify a title, or tosave analysis commands. Full details are in the on-line help.4.6 PracticalSave the bacteria data from Practical 2.2 in an Excel file.4.7 Database filesYou can load into GenStat from an ODBC database using the DBIMPORT procedure, andsave data from GenStat into an ODBC database using the DBEXPORT procedure. Detailsare in the on-line help.4.8 Custom output and captionsThere are several commands that you can use to construct your own output. By default,in GenStat for Windows, this will appear in the Output window. Alternatively, you can usethe OPEN directive to open an external file for output, and the OUTPUT directive to sendsubsequent output there. Also, many commands have a CHANNEL option that lets youdivert output temporarily; for example, see PRINT in Section 3.1. We will not discussthis further here, but you can find the details in Sections 3.3 and 3.4 of the Guide to theGenStat Command Language, Part 1 Syntax and Data Management.The main command for output is PRINT, which was described in Section 3.1. This candisplay the contents of any GenStat data structure. It can choose appropriate styles andformats automatically, or you can set your own. For examplePRINT Sulphur,Windsp,Winddir,Rainprints the variates and factors in the pollution data set from Section 4.3, in columns downthe page. The field width is 12 characters, and the numbers of decimal places for thevariates is chosen so that their mean of the absolute values of each variate would bedisplayed to four significant figures.3 PRINT Sulphur,Windsp,Winddir,RainSulphur Windsp Winddir Rain0.00 14.80 W no13.00 14.30 N no12.00 5.50 W no22.00 5.00 NW no12.00 4.50 W no6.00 4.80 NE no2.00 4.30 E no24.00 4.00 SE no36.00 9.30 S no6.00 6.30 NE no10.00 5.80 SW yes4.00 8.30 W yes3.00 16.00 SW yes7.00 15.80 W no2.00 16.00 SW yes3.00 16.70 W yes5.00 9.50 W no6.00 9.80 W yes13.00 12.00 W yes49.00 4.80 N no26.00 2.70 W no6.00 6.50 SW no3.00 13.50 SW yes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!