14.03.2014 Views

Automation Reference - JMP

Automation Reference - JMP

Automation Reference - JMP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Application Object <strong>Reference</strong> for Automating <strong>JMP</strong><br />

Platform Methods<br />

MarkClusters(Flag As Boolean)<br />

An On(True)/Off(False) option that mirrors its non-automation counterpart.<br />

NumberOfClusters(Number As Integer)<br />

Specifies the number of clusters to form.<br />

SaveClusters()<br />

Saves the cluster number of each row in a new data table column.<br />

Contingency Object Methods<br />

The Contingency object provides a way to launch and manipulate a Contingency table analysis.<br />

Cochran(ColumnName As String) As Boolean<br />

Performs a Cochran-Mantel-Haenszel test, taking the provided column for blocking.<br />

Correspondence(Flag As Boolean)<br />

Turns the display option On (True) or Off (False).<br />

Crosstabs(Flag As Boolean) As Crosstabs<br />

Turns the Crosstabls option on (True) or off (False). This method returns a dispatch pointer to a Crosstabs<br />

object, which allows further manipulation. (See “Crosstabs Object Methods”.)<br />

HorizontalMosaic(Flag as Boolean)<br />

Displays a horizontal mosaic plot (True) or a vertical mosaic plot (False). To display a mosaic plot, call<br />

MosaicPlot(Flag As Boolean) as True.<br />

MosaicPlot(Flag As Boolean)<br />

Turns the display option On (True) or Off (False). If you do not use HorizontalMosaic(Flag as Boolean) to<br />

set a horizontal or vertical display, a vertical mosaic plot is displayed by default.<br />

NomAxisBooleanOption(Handle as Long, Action as Short, Flag As Boolean)<br />

Controls a Boolean option for the display of the Nominal Axis. If the platform supports the option, then this<br />

method will either turn it on (Flag is True) or off (Flag is False). Examples of options are Rotated Tick Labels,<br />

Divider Bars and displaying a Lower Frame. The Rotated Tick Labels are supported only on the Oneway and<br />

Variability Chart platforms. Before this method can be called, a handle to the Nominal Axis display box must be<br />

obtained through a call to GetGraphicItemByType(TypeName As String, ItemNumber As Integer) As Long.<br />

Tests(Flag As Boolean)<br />

Turns the display option On (True) or Off (False).<br />

Page 75

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

Saved successfully!

Ooh no, something went wrong!