For the latest version of JMP Help, visit JMP.com/help.

Publication date: 09/28/2021

Send Messages to an Object

Suppose that you want to send a message to an object in the output. For example, in Fit Model, you want to send the Response Limits message to the Profiler object, Use the subscript operator ([ ]) to refer to the Profiler object.

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
 
fm = dt << Fit Model(
	Y( :height ),
	Effects( :age, :sex, :weight, :age * :weight, :sex * :weight ),
	Personality( Standard Least Squares ),
	Emphasis( Effect Screening ),
	Run
);
 
obj = fm << Profiler(
	1,
	Confidence Intervals( 1 ),
	Desirability Functions( 1 ),
	Term Value( age( 12 ), sex( "F" ), weight( 105 ) )
);
 
Show( Profiler[1] << Get Desirability ); // show the limits before
 
Profiler[1] << (height << Response Limits(
	{Lower( 50, 0.95 ), Middle( 58, 0.7 ), Upper( 70, 0.066 ),
	Goal( "Minimize" ), Importance( 1 )}
));
Wait( 0.1 ); // for demonstration purposes
Show( Profiler[1] << Get Desirability ); // show the limits after
Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).