14.03.2014 Views

Download Jmp User Guide

Download Jmp User Guide

Download Jmp User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 9 Formula Editor 295<br />

Using Functions<br />

To create a formula that contains a function<br />

1 Open the formula editor by right-clicking a column name in the data grid and selecting Formula.<br />

2 Select an expression in the formula editing area by clicking it. (It is selected when there is a red<br />

outline around it.) The function performs its action on the area that is highlighted.<br />

3 Click the menu in the function browser to view the groups of functions.<br />

4 Select a group of functions to view. (See Table 9.3 for details.) The functions that belong to that<br />

group are then displayed in the list below the menu. The function groups are briefly described in the<br />

following list. For a full description, see the following sections, starting with “Referencing Rows,”<br />

p. 297.<br />

5 Click any function in the Functions list to apply it to the selected item. When you click some items,<br />

you reveal a submenu from which you should make a selection.<br />

9Formulas<br />

Note: Most formulas give hints about appropriate arguments through gray words inserted in the boxes<br />

in the formula editing area. Formulas also show a small caret in the argument area if additional<br />

arguments can be added.<br />

6 Continue to build the formula by highlighting terms and clicking items in the formula element<br />

browser, keypad, or function browser.<br />

Table 9.3 Groups of Functions<br />

Group<br />

Functions (all)<br />

Functions (grouped)<br />

Row<br />

Numeric<br />

Transcendental<br />

Trigonometric<br />

Character<br />

Character Pattern<br />

Functions Included<br />

Displays a list of all available functions in alphabetical order.<br />

Displays a list of all available functions grouped according to topic.<br />

Displays a list of functions that contains miscellaneous functions such as<br />

Lag, Dif, Subscript, Row, and NRow. See “Referencing Rows,” p. 297, for<br />

details.<br />

Displays a list of functions that are terms commonly used in formulas. See<br />

“Adding Numeric Functions,” p. 297, for details.<br />

Displays a list of functions that are functions such as natural log, common<br />

log, exponential, root, factorial, combinatorial, beta, and gamma. See<br />

“Inserting Logarithmic or Trigonometric Functions,” p. 298, for details.<br />

Displays a list of functions that are the standard trigonometric functions:<br />

sine, cosine, tangent, inverse functions, and hyperbolic functions. See<br />

“Inserting Logarithmic or Trigonometric Functions,” p. 298, for details.<br />

Displays a list of functions that operate on character arguments such as<br />

trimming, finding the length of a string, converting between numbers and<br />

characters. See “Adding Character Arguments and Returning Character<br />

Strings,” p. 300, for details.<br />

Displays a list of functions that match strings using character patterns and<br />

regular expressions. See “Matching Character Patterns,” p. 300, for details.

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

Saved successfully!

Ooh no, something went wrong!