Here is a script that produces the following output:
Names Default To Here( 1 );
dt = Current Data Table();
att1 = dt << Attribute Chart(
Y( :Part ),
X( :Attribute GRR Part ),
Standard( :Standard ),
Effectiveness Report( 1 )
);
att2 = dt << Attribute Chart(
Y( :Kappa Results ),
X( :Kappa Parts ),
Standard( :Kappa Standard ),
Effectiveness Report( 1 ),
Attribute Gauge Chart( 0 )
);
Results List 1 = {};
Results List 1[1] = (Report( att1 )["Effectiveness"][1][1][2] << get)[1] / 100;
Results List 1[2] = (Report( att1 )["Conformance Report"][1][1][1][2] << get)[1];
Results List 1[3] = (Report( att1 )["Conformance Report"][1][1][1][3] << get)[1];
Results List 2 = {};
Results List 2[1] = (Report( att2 )["Effectiveness"][1][1][2] << get)[1] / 100;
New Window( "test",
tb1 = Table Box(
String Col Box( "GRR", {"Effectiveness", "False Alarm", "Miss Rate"} ),
nb1 = Number Col Box( "Results", Results List 1 )
),
tb2 = Table Box(
String Col Box( "Kappa", {"Effectiveness"} ),
nb2 = Number Col Box( "Results", Results List 2 )
)
);
tb1 << set column borders( 1 ) << set row borders( 1 );
tb2 << set column borders( 1 ) << set row borders( 1 );
nb1 << set format( "Percent", 7, 2 );
nb2 << set format( "Percent", 7, 2 );
what I don't know is if the two attribute platform runs are both run on the same data table or on separate tables. If they are on separate tables, you will need to add a second pointer to the second table, and change the reference to it where required in the script, so that the attribute platform is run against it.
Your request about putting the results into a data table can not be accommodated. Columns in a JMP data table can not contain numeric and character data. Your sample has a second column that has both the Character value of "Results" and also numeric values. A JMP data table is an analysis data structure, not just a spreadsheet like Excel, where every Cell is an independent structure.
If you look at the output that I am giving you, it is also broken into 2 separate Table Boxes, but displayed together. It was done this way, for the same reason as the data table requirement..
Jim