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.

438 Formula Functions Reference Appendix B<br />

Row State Functions<br />

Table B.2 Row State Functions (Continued)<br />

Function Name Argument Type Required What the Function Returns (Your Column<br />

Data Type Should be This Type)<br />

Hidden Row State() or row state column integer 0 (not hidden) or 1 (hidden)<br />

Labeled Row State() or row state column integer 0 (not labeled) or 1 (labeled)<br />

Color Of Row State() or row state column color map integer<br />

Marker Of Row State() or row state column marker map integer<br />

Selected Row State() or row state column integer 0 (not selected) or 1 (selected)<br />

Row State<br />

Returns the active row state condition of the current row as true or false. You can use this function to<br />

conveniently write conditional clauses that depend on the status of the current row. For example,<br />

Figure B.15 assigns a 1 to rows that are currently selected and labeled and 0 otherwise.<br />

Figure B.15 Row State<br />

As Row State<br />

Converts a numeric argument to a row state or set of row state conditions. Row states are stored internally in<br />

<strong>JMP</strong> as a 16-bit number, with each bit assigned to represent one of the possible row states as illustrated in<br />

Figure B.3. For example, the binary representation of 1327 is 0000010100101111. As Row State(1327)<br />

would therefore set the row state as selected, excluded, hidden, labeled, with marker 2 and color 10.<br />

Table B.3 Row States Stored as 16-Bit Numbers: Each Bit Represents a Row State<br />

Bit<br />

Row State<br />

0 Not selected (0) or Selected (1)<br />

1 Unexcluded (0) or Excluded (1)<br />

2 Unhidden (0) or Hidden (1)<br />

3 Unlabeled (0) or Labeled (1)<br />

4-7 Marker<br />

8-14 Color

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

Saved successfully!

Ooh no, something went wrong!