|
UNIQUEName:
LET ND = SIZE YD However, in some cases you may just need the number of distinct values, not the values themselves. This is the case where the UNIQUE command is useful.
where <y> is the response variable; <par> is a parameter where the number of distinct values is saved; and where the <SUBSET/EXCEPT/FOR qualification> is optional.
The UNIQUE command is not typically used in the context of these other commands.
SKIP 25 READ GEAR.DAT Y X LET ND = UNIQUE X XLIMITS 1 ND MAJOR XTIC MARK NUMBER ND MINOR XTIC MARK NUMBER 0 TIC MARK OFFSET UNITS DATA XTIC MARK OFFSET 0.5 0.5 Y1LABEL Mean X1LABEL Batch LABEL CASE ASIS MEAN PLOT Y X
Date created: 07/22/2011 |