||Defines the starting location for numbering the plots (
||Defines the order in which the numbers are allocated (
||Number of rows in the design|
||Number of columns in the design|
||Saves the plot numbers|
FPLOTNUMBER generates unique numbers that can be used to identify the plots in a row-by-column design. These are often used to define the order in which various husbandry operations will be carried out. Several ways are therefore provided to specify the order.
FIRSTPLOT option specifies where the numbering should start, as follows:
||left-hand plot at the bottom of the design i.e. in the final row and first column;|
||right-hand plot at the bottom of the design i.e. in the final row and final column;|
||eft-hand plot at the top of the design i.e. in the first row and first column (default);|
||right-hand plot at the top of the design i.e. in the first row and final column.|
PLOTORDER option defines the order in which the plots are then allocated:
||column-by-column in a serpentine way e.g. top-to-bottom, then bottom to top, and so on;|
||column-by-column taking the same direction for every column;|
||in a serpentine way e.g. left-to-right, then right-to-left, and so on;|
||row-by-row taking the same direction for every row (default).|
The numbers of rows and columns defined by the
NCOLUMNS parameters, respectively. The
PLOTNUMBER parameter saves the numbers, in a factor.
The procedure first forms row and column factors using the GENERATE directive, with the
FIRSTPLOT option indicating whether they are generated with their levels in ascending or descending order. The plot numbers are then calculated from those factors. With the serpentine orders, a different calculation is required for the even- and the odd-numbered rows or columns.
Commands for: Design of experiments.
CAPTION 'FPLOTNUMBER example'; STYLE=major SCALAR nr,nc; VALUE=7,5 FACTOR [NVALUES=nr*nc; LEVELS=nr] Row FACTOR [NVALUES=nr*nc; LEVELS=nc] Col GENERATE Row,Col "Display plot number from all 4 corners by 4 orderings" FOR FP = 'upleft','upright','lowleft','lowright' FOR PO = 'rowbyrow','rowserpentine','colbycol','colserpentine' FPLOTNUMBER [FIRSTPLOT=#FP; PLOTORDER=#PO] NROWS=nr; NCOLUMNS=nc; \ PLOTNUMBER=Plot TABULATE [CLASS=Row,Col] !(#Plot); MEANS=rc TXCONST [TEXT=head] 'FIRSTPLOT=',FP,' PLOTORDER=',PO CAPTION head; STYLE=minor PRINT [SQUASH=yes; IPRINT=*; RLWIDTH=6] rc; DECIMALS=0; FIELD=4 ENDFOR ENDFOR