Prints levels and labels of factors (R.W. Payne).
No options
Parameter
FACTOR = factors |
Factors whose levels and labels are to be printed
|
|---|
Description
PFACLEVELS prints the levels, and the labels (if present), of factors. This can be useful, for example, to check that they have been defined correctly, before either reading or printing a large data set. If you have already defined the values of the factors, the output also includes the replication of each level.
You specify the factors, whose levels and labels are to be printed, by the FACTOR parameter.
Options: none.
Parameter: FACTOR.
See also
Directive: FACTOR.
Commands for: Input and output.
Example
CAPTION 'PFACLEVELS example'; STYLE=meta
FACTOR [LEVELS=3; VALUES=4(1...3)] Treatment
PFACLEVELS Treatment
FACTOR [LABELS=!T(male,female)] Sex; VALUES=!T(4(male,female))
PFACLEVELS Sex
FACTOR [LEVELS=!(0,2.5,5); LABELS=!T(none,standard,double)] Rate; DECIMALS=1
PFACLEVELS Rate
FACTOR [LEVELS=!(152886,152917,152947); LABELS=!T(Oct,Nov,Dec)] \
Timing; DREPRESENTATION=3
PFACLEVELS Timing