14.03.2014 Views

Using JMP - SAS

Using JMP - SAS

Using JMP - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Appendix B Formula Functions Reference 439<br />

Row State Functions<br />

Combine States<br />

Generates a row state combination with two or more arguments. Use the insert button ( ) on the Formula<br />

Editor keypad or type a comma to add arguments to the Combine States function. The currently selected<br />

expression becomes the first argument when you select Combine States. Replace each argument with an<br />

expression that evaluates to a row state. This formula:<br />

Combine States(<br />

Selected State(Modulo(Row(),2),<br />

Labeled State(Modulo(Row()+1,2))<br />

alternately labels or selects each row in the calculated row state column. The Selected State and Labeled<br />

State functions are defined later in this section. Use the insert ( ) and delete ( )buttons on the Formula<br />

Editor keypad to add more arguments or remove unwanted arguments.<br />

If you include conflicting row states in a combination, the results are unpredictable.<br />

Excluded State<br />

Interprets a numeric argument as true or false. When an argument evaluates as true, the Excluded State<br />

function assigns the excluded condition as the value of the column for that row. For example, Excluded<br />

State(Modulo(Row(),2)) assigns the excluded row state as the value of the row state column for each odd<br />

numbered row.<br />

Hidden State<br />

Assigns the hidden row state condition when its argument is greater than zero. If the argument is zero, the<br />

value in the column for that row is not hidden.<br />

Labeled State<br />

Gives the labeled row state condition when its argument is greater than zero. If the argument is zero the row<br />

value in the column for that row is not labeled.<br />

Color State<br />

Returns the color from the <strong>JMP</strong> color map that corresponds to its integer argument. <strong>JMP</strong> colors are<br />

numbered 0 through 84. Zero maps to black.<br />

Marker State<br />

Returns markers from the <strong>JMP</strong> marker map that correspond to its integer argument. <strong>JMP</strong> markers are<br />

numbered 0 through 16. The formula Marker State(Row()) assigns all the row state markers in a repeating<br />

sequence determined by the current row number to the calculated row state column. A row state column<br />

can have multiple row states as a value.<br />

Selected State<br />

Gives the selected row state condition when its argument is greater than zero. If the argument is zero, the<br />

value in the column for that row is not selected.

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

Saved successfully!

Ooh no, something went wrong!