14.03.2014 Views

Download Jmp User Guide

Download Jmp User Guide

Download Jmp User Guide

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 C Formula Functions Reference 455<br />

Row Functions<br />

Row Functions<br />

Adding a row function to a formula lets you reference specific rows or cells within specific rows. See the<br />

JMP Scripting <strong>Guide</strong> for details about syntax.<br />

Sequence<br />

Produces an arithmetic sequence of numbers across the rows in a data table, where the start value,<br />

ending limit, and increment are specified as arguments.<br />

Count<br />

Creates a list of values beginning with the from value and ending with the to value. The number of<br />

steps specifies the number of values in the list between and including the from and to values. Each<br />

value determined by the first three arguments of the count function occurs consecutively the number of<br />

times you specify with the times argument. When the to value is reached, Count starts over at the from<br />

value.<br />

Also, you can add the times argument with the insert button ( ) on the keyboard. This argument is<br />

one by default, but repeats the count process as many times as you specify, as illustrated by the Count4<br />

column in the data table in Figure C.1. To add any argument to the Count function, highlight the<br />

argument preceding the one you want to enter and either type a comma or use the insert button ( )<br />

on the formula editor keypad.<br />

The columns in the data table below result from the following formulas:<br />

• Count (1, 9, 2) gives Count 1<br />

• Count (1, 9, 3) gives Count 2<br />

• Count (1, 9, 9) gives Count 3<br />

• Count (1, 9, 3, 3) gives Count 4<br />

Figure C.1 Example of the Count Function<br />

C Formula Functions Reference<br />

The Count function is useful for generating a column of grid values. For example, the following<br />

formulas create a square grid of increment NRow() (the Row function that gives the total number of<br />

rows in the data table) and axes that range from –5 to 5:<br />

Count (–5, 5, Root(NRow()))<br />

Count (–5, 5, Root(NRow(), Root(NRow())))

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

Saved successfully!

Ooh no, something went wrong!